Hasty Briefsbeta

Bilingual

Buz – A fork of Bun using modern Zig, with sub-1s incremental builds

5 hours ago
  • Buz is a work-in-progress fork of Bun, based on the last commit before its Rust rewrite, and is not ready for production.
  • The project has been ported to build with the current upstream Zig, with a complete build graph in build.zig, enabling sub-1s incremental builds.
  • The goal is to be a drop-in replacement for Bun with a cleaner codebase, having imported all new tests from Rust Bun and removed over 11,000 lines of dead code.
  • The codebase has been rewritten and modernized, relying more on Zig's stdlib, fixing countless bugs in the process.
  • The project uses a slightly patched Zig master submodule but can be built with upstream Zig at commit 2b1c663.
  • Human-coded contributions are not accepted until the project is deemed sane enough, with LLMs used extensively for code generation to reduce technical debt.
  • The author aims to create a maintainable drop-in replacement for Rust Bun 1.4.0 within weeks or months, focusing on idiomatic Zig and reducing slop code.