Zig Creator Slams Anthropic’s Rust Rewrite of Bun, Warns AI Hype Threatens Software Engineering Decisions
Andrew Kelley critiques Anthropic’s Rust port of Bun, arguing AI hype fuels risky language switches and clouded engineering choices.

Andrew Kelley, the creator of the systems language Zig, has publicly rebuked Anthropic’s recent announcement that the Bun runtime would be ported from Zig to Rust. Anthropic, backed by $132 billion in funding and a projected trillion‑dollar valuation, framed the move as a showcase of AI‑driven code generation. The rewrite was merged without prior notice, prompting a blunt response that highlighted the risks of swapping battle‑tested code for a hype‑driven rewrite. For developers and engineering leaders, the episode illustrates how AI hype can distort language‑choice decisions.
What happened
Anthropic announced that Bun, its JavaScript runtime, would be migrated from Zig to Rust. The company released an explanation two months after the migration landed on the main branch, describing the change as an “unsafe Rust” port that allowed a file‑by‑file migration to minimize risk. The timing and lack of upfront communication let headlines focus on the AI narrative rather than technical trade‑offs.
Zig creator Andrew Kelley responded with a terse statement, calling the move a “spade a spade” and warning that the optics of a high‑profile AI firm rewriting production code could mislead engineers. He emphasized that decisions should be based on clear technical criteria, not on fear of being left behind by AI hype.
Why it matters
The episode highlights three stakes for engineering teams: the loss of battle‑tested Zig code that has accumulated real‑world reliability, the hidden cost of a large‑scale language migration, and the broader narrative that AI can replace human judgment in architectural choices. When funding giants like Anthropic promote AI‑generated rewrites, product managers and CTOs may feel pressure to adopt the latest hype, potentially sacrificing stability and long‑term maintainability.
- Rust offers a mature ecosystem and strong memory‑safety guarantees.
- Potential performance improvements for low‑level runtime components.
- Alignment with a high‑visibility AI vendor may attract talent.
- Existing Zig codebase is battle‑tested; the Rust version starts with zero production feedback.
- Migration risk includes hidden bugs, integration friction, and developer onboarding costs.
- Decision driven by AI hype rather than concrete technical evaluation.
How to think about it
- Measure, don’t assume – Benchmark the current Zig implementation against a prototype in Rust before committing.
- Incremental migration – Move isolated modules behind feature flags rather than a wholesale rewrite.
- Team expertise – Align language choice with the existing skill set; invest in training only if the benefits outweigh the cost.
- Separate AI hype from engineering merit – Treat AI‑generated suggestions as data points, not directives.
- Post‑migration validation – Require real‑world usage and feedback before deprecating the original code.
FAQ
Should my team rewrite existing Zig code to Rust based on AI hype?+
How reliable are Anthropic’s claims about AI replacing software engineers?+
What criteria should we use to decide on a language migration?+
- engineering·5 min readAI's Disproportionate Impact on Junior Developer Employment: Market Trends and Future Outlook
New data reveals a significant decline in junior developer employment, down 19% for ages 22-25 since late 2022, while overall developer jobs grow. AI automation is a key factor, reshaping…
- engineering·3 min readAI-Generated Code Shifts Language Preferences
The rise of AI-generated code changes the landscape of programming languages, making Python and JavaScript less favorable
- engineering·3 min readOpus 4.6 and Opus 4.7 Token Comparison
Anonymous request-token comparisons from Opus 4.6 and Opus 4.7 show differing costs on real inputs, despite unchanged prices
The week’s highest-signal tech and AI stories, synthesized into a five-minute read. One email a week, no spam, unsubscribe anytime.