News for hackers. Stuff that matters.
Re:Zig's Incremental Compilation Internals by SkiFire13 on Wednesday July 29, 2026 @02:06AM (#49093915)
The downside of this is that if two crates use the same function each of them will have to codegen it, duplicating the work needed for those functions.

As always this could be avoided with some extra complexity, but that require lot of work and testing that hasn't been done.

So for now this is useful only in crates that have a lot of unused functions, so even if one function is codegenned multiple times you still save time overall.

There are no comments on this comment yet.