4 ms·
mmmmh... basically, generates machine code which only requires a stack (which could be used by code paths not written in zig), contained in memory pages with ex
by sylware 2y ago
mmmmh... basically, generates machine code which only requires a stack (which could be used by code paths not written in zig), contained in memory pages with execute and read permission only. Ofc this machine code would interact with the other machine code (written in other languages) via the architecture calling convention (the ABI/C one).
- accelbred 2y agoThats what Zig does. It compiles down to the same stuff as C. It does not have a runtime.
- butterisgood 2y agoIt also has been very much trying to get rid of things like "undefined behavior".