|
|
|
|
|
by fleventynine
218 days ago
|
|
> This means there's no target too small for the language, including embedded systems. It also means it's a good choice if you want to create a system that maximizes performance by, for example, preventing heap allocations altogether. I don't think there's is any significant different here between zig, C and Rust for bare-metal code size. I can get the compiler to generate the same tiny machine code in any of these languages. |
|
C, yes, you can compile C quite small very easily. Zig is like a simpler C, in my mind.