Hacker News
Bun's Experimental Rust Rewrite Hits 99.8% Test Compatibility — 960K Lines Rewritten with AI Assistance in Six Days — 658 Points on HN
Bun creator Jarred Sumner announced that the experimental Rust rewrite of Bun's runtime passes 99.8% of pre-existing tests on Linux x64 glibc, with 960,000 lines of Zig code rewritten to Rust in approximately six days using AI assistance. The rewrite preserves the same architecture but gains Rust's ownership model, lifetime enforcement, and destructors. Sumner notes there's a 'very high chance all this code gets thrown out completely' — the project hasn't committed to shipping the Rust version, but the 631-comment HN discussion signals massive practitioner interest in AI-assisted large-scale rewrites.
Source
↳ Follow the thread