Buz – A fork of Bun using modern Zig, with sub-1s incremental builds(ziggit.dev)
285 points by kristoff_it 1 day ago | 183 comments
tl;dr: Buz is a WIP fork of Bun based on the last commit before Bun's Rust rewrite, ported to modern Zig with sub-1s incremental builds and the entire build graph (including vendored JavaScriptCore) in build.zig. The author has removed 11K+ lines of dead code, imported tests from Rust Bun, and aims for a drop-in replacement with a saner codebase. Notably, contributions are LLM-only for now — the maintainer argues the existing 600K-line codebase is too "sloppy" for humans to untangle by hand.
HN Discussion:
  • Fork proves Bun could have had fast builds all along, validating the effort
  • Ironic/skeptical of using LLMs to clean up code LLMs made messy in the first place
  • Skepticism about the 11K dead code claim, suggesting author lacks experience with large codebases
  • Appreciation for prioritizing code quality/stewardship over pure feature velocity
  • Build time optimization is diminishing returns and not the real bottleneck