The Zig compiler takes approximately 1 minute and 30 seconds to compile debug builds, causing prolonged waiting times for developers working on large codebases like Bun. The language server, zls, lacks critical features like type-checking, further slowing development. While incremental compilation is in progress, it is not fully ready, causing additional delays in the development process.

4m read timeFrom zackoverflow.dev
Post cover image
Table of contents
I spent 181 minutes waiting for the Zig compiler this weekWriting code with long compile times λThe real problem: The language server isn’t very helpful λWhy is Zig’s compiler so slow? λConclusion λ
5 Comments

Sort: