Bun Rewritten by AI from Scratch: One Million Lines of Code in 11 Days
64 instances of Claude Fable 5 rewrote Bun — a popular JavaScript runtime — from Zig to Rust in 11 days, generating more than one million lines of code at an API cost of $165,000 (~1 engineer year).
A complete rewrite of the Bun JS runtime (developer tool) in a different programming language was completed in just 11 days. 64 simultaneous runs of Claude Fable 5 produced more than 1 million lines of code. It took an API cost of $165,000 (~1 engineer year). Result: Bun v1.4.0, which is ~2–5% faster and contains 128 bug fixes.
The first case of a major developer tool being completely automated using dozens of AI agents. Now we can fully automate large-scale architectural changes with AI.
Source: the-decoder.com
Free course
Stop reading about AI — start building with it
The free Claude Code course: your first site, tool or game — no coding. No upsells, no cross-sells — nothing to buy here.
Start free →▌ Related guides

Author
Evgenii Arsentev
PhD · Founder & CEO, Dad4Kids
Articles · Latest articles