News for hackers. Stuff that matters.
Re:Allocgate: Restructuring how allocators work in Zig by Spex_guy on Wednesday December 15, 2021 @07:09PM (#29573195)
Zig's build model is mostly to combine everything into one compilation unit (from multiple files). Since Zig doesn't have a preprocessor, the compiler can reason about incremental compilation and avoid rebuilding everything for every change. Incremental optimization is an open question that we will need to tackle at some point, but the focus for now is on getting the language to a point where it can be stable first.

You can introduce intentional graph cuts if you want, and build multiple objects, but you are limited to the C ABI at these boundaries.

There are no comments on this comment yet.