upvote
Single compiles for sure. Where Zig is optimizing compilation is in the incremental compiler, which I've seen compile the compiler itself in an instant after a single line change. Of course, that kind of speed is probably not interesting to some people if the AI is writing tons of lines of code before they go to the compilation step.
reply
I found making single line changes in Bun’s zig code led to very long compiles compared to doing the same in Rust code. It was a while ago though and maybe I was doing something wrong.
reply
Probably a very long time ago then. Try again with Zig 0.16. It's amazing how fast recompiles can be.
reply
They can't, because Bun is tied to a fork of Zig 0.14 which is not compatible with regular Zig compiler.
reply