@jarredsumner: my favorite test failure during bun’s rust rewrite: TOML & YAML parsers stack overflow tests failed because it could no…
Summary
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.
View Cached Full Text
Cached at: 05/18/26, 12:32 PM
my favorite test failure during bun’s rust rewrite: TOML & YAML parsers stack overflow tests failed because it could now go deeper than the test expected
Similar Articles
@trq212: Jarred tried rewriting Bun in Rust and it passes 99.8% of the existing test suite we're not being ambitious enough
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.
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.
Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"
Bun's Rust rewrite fails basic Miri checks, allowing undefined behavior in safe Rust, raising serious safety concerns.
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.