@trq212: Jarred tried rewriting Bun in Rust and it passes 99.8% of the existing test suite we're not being ambitious enough
Summary
A developer named Jarred successfully rewrote parts of the Bun runtime in Rust, achieving a 99.8% pass rate on the existing test suite, highlighting a discussion on engineering ambition.
View Cached Full Text
Cached at: 05/10/26, 08:30 PM
Jarred tried rewriting Bun in Rust and it passes 99.8% of the existing test suite
we’re not being ambitious enough
Similar Articles
@jarredsumner: my favorite test failure during bun’s rust rewrite: TOML & YAML parsers stack overflow tests failed because it could no…
Jarred Sumner shares a favorite test failure during Bun's Rust rewrite: TOML and YAML parsers stack overflow tests failed because the Rust implementation could handle deeper nesting than expected.
Bun Has Been Converted to Rust. Now What?
Anthropic acquired Bun and used Claude Code agents to rewrite the entire runtime from Zig to Rust in nine days. The rewrite passed 99.8% of tests but introduced over 10,000 unsafe blocks, raising questions about the benefits of memory safety.
Rewrite Bun in Rust has been merged
The Bun JavaScript runtime and toolkit has been rewritten in Rust, marking a major change from its original Zig implementation.
Bun's Rust rewrite has been merged
Bun, the JavaScript runtime and package manager, has merged a rewrite of its core from Zig to Rust, potentially improving performance and maintainability.
Rewriting Bun in Rust
Jarred Sumner details the agentic rewriting of Bun from Zig to Rust using AI, costing $165k in tokens and resulting in a 10% faster startup.