@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.
I cant decide if Bun's AI-heavy Zig-to-Rust rewrite is the future, or a giant warning sign
Anthropic acquired Bun and used AI agents to rewrite its codebase from Zig to Rust, a massive 1M-line change that passed 99.8% of tests, raising both excitement about AI's potential for infrastructure rewrites and concerns about reviewability, unsafe Rust, and hidden bugs.