Anthropic Migrates Bun From Zig to Rust With Claude Code, Shrinking the Binary by 19%
Anthropic used Claude Code to port Bun from Zig to Rust in less than two weeks. Rulebooks, adversarial agent reviews, compiler-driven fixes and an existing TypeScript test suite supported the migration; the shipped binary was 19% smaller on Linux and Windows and 2–5% faster in reported workloads.