✳flâneur — a map of the web's best reading
Rewriting Bun in Rust | Bun Blog
bun.com · 6,850 words · saved by 8 readers
Why & how we rewrote Bun from Zig to Rust
Disclosure: Bun was acquired by Anthropic in December 2025. I and others on the Bun team work at Anthropic. I used a pre-release version of Claude Fable 5 for much of the Rust rewrite. Bun started as a line-for-line port of esbuild's JavaScript & TypeScript transpiler from Go to Zig. I wrote my first line of Zig on April 16, 2021 . I bet on Zig after seeing the single-page Zig Language Reference on Hacker News and getting really excited about the low-level control and care for performance. From the start, Bun's scope was massive: JavaScript, TypeScript, and CSS transpiler, minifier, and bundle
Explore this link on the map →saved by
related reading
- Zig Creator Calls Spade a Spade, Anthropic Blows Smokeraymyers.org
- Assorted thoughts on zig (and rust)scattered-thoughts.net
- A half-hour to learn Rustfasterthanli.me
- Zed — Your last next editorzed.dev
- GitHub - oven-sh/bun: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one · GitHubgithub.com
- Behind The Scenes of Bun Install | Bun Blogbun.com
- Devlog ⚡ Zig Programming Languageziglang.org
- Zig And Rustmatklad.github.io
- NYSRGnotes.ekzhang.com
- The Conductor Rewrite: What They Changed to Make It Fastperformance.dev
- Ralph Wiggum as a "software engineer"ghuntley.com
- GitHub - ultraworkers/claw-code: An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention. · GitHubgithub.com