Anthropic used Claude Code to migrate Bun's million-line Zig codebase to Rust in two weeks
Anthropic shared their playbook for large-scale code migrations with Claude Code. The headline case: porting Bun's 1M+ lines of Zig to Rust in two weeks. The approach splits work into planning, execution, and verification — Claude Code reads the codebase, writes a migration plan, generates PRs, and passes CI. Full workflow and prompt templates are included, aimed at teams running AI-assisted refactors internally.
Why it matters: Anthropic published its full process for migrating Bun's million-plus lines of Zig to Rust with Claude Code, split into plan, execute and verify, finished in two weeks, a reference for large migrations.