Zig 0.15.1 delivers significant compilation speed improvements across all build scenarios. Real-world benchmarks from the Ghostty terminal emulator project show build script compilation dropping from 7 seconds to 1.7 seconds, full uncached builds improving from 41 to 32 seconds, and incremental builds getting 15-66% faster. These gains come despite most code still using LLVM rather than Zig's self-hosted backend. The improvements stem from years of work on custom code generation backends, linkers, and incremental compilation infrastructure, with even greater speedups expected as these features mature.
Table of contents
Build Script CompilationFull Uncached Ghostty BinaryIncremental Build (Ghostty Executable)Incremental Build (libghostty-vt)Faster Builds Are HereFootnotes1 Comment
Sort: