Rewrite a codebase (or a large module) from Zig / C / C++ / Go / TypeScript into Rust using the multi-phase method Bun used on itself — big-bang translate to rough drafts, make each crate compile by gating, dissolve the stubs into properly-layered real code, then drive tests to green. Internalizes Bun's real workflows (classify, draft-port, tier-and-gate, proper-port, panic-swarm, test-swarm, unsafe-audit) as runnable scripts. Use for rewrite-it-in-rust / RIIR / oxidize / port to Rust / migrate a codebase to Rust at the scale of hundreds of files across many crates. Triggers: rewrite in Rust, port to Rust, migrate to Rust, RIIR, oxidize, rust rewrite, language migration.
2026-07-10