Bun Drops Zig for Rust — Thanks to Claude AI
Anthropic's AI rewrites Bun's entire codebase, sparking developer debate and plenty of questions.

Bun, the JavaScript runtime that first promised to replace Node.js, NPM, and even bundlers like esbuild, just got a radical makeover. The open-source project, snapped up by AI giant Anthropic late in 2025, has ditched its entire Zig codebase. Now? It's all Rust.
And guess who did the heavy lifting? Anthropic's own language model, Claude. This isn't just a code update; it's a new chapter in how software gets built. Or maybe, how it could get built.
Top-rated mics, webcams and accessories AI creators use daily.
The Rust Shift
Word started leaking out in late April: a new branch popped up, clearly showing Claude busy converting Bun's entire codebase. From Zig to Rust. Developers were skeptical, naturally. Bun founder Jarred Sumner tried to calm everyone down on May 5th. "This whole thread is an overreaction," he posted. "We haven’t committed to rewriting."
But they didn't give up. Not at all. By May 14th, the changes were merged into the main branch. We're talking 2,188 files altered, a million lines of code rewritten, and 4,000 lines deleted. Bun is now fully Rust.
Community Weighs In
This move, as you might expect, blew up the developer community forums. Some folks cheered the switch to Rust, praising its safety features — especially those tools designed to catch and prevent memory bugs. But then there were the others, pointing fingers at the heavy use of the unsafe keyword in the new code. Kinda defeats Rust's safety advantages, doesn't it?
This Rust version of Bun? It's still pretty rough. Issues that never showed up in the Zig version are now popping up on GitHub. No official version number for the Rust build yet, but that's just a matter of time. If you're keen to stick with the old Zig, better lock your version at 1.3.14. It might just be the last of its kind.
The AI Rewrite's Price Tag
Think about it: an entire project of this scale, migrated solely by a language model. It's unprecedented in software development. We don't know the exact number of tokens Claude chewed through. But honestly, figuring that out would give us a real sense of what these AI-driven projects actually cost.
AI isn't just changing how we write code; it's rewriting the rules.
What This Means for You
If you're a Bun developer, this Rust shift could mean better performance and enhanced safety. But you'll need to stay on top of the latest developments. Using Bun in your projects? Test the Rust version. Thoroughly. Before you even think about pushing it to production.
Still Plenty of Questions
Long-term, what are the implications of AI doing these massive rewrites on software quality? How will the community tackle the bugs and issues that crop up from this transition? And yeah, what's the real cost of using AI for such a huge task?
Why It Matters
This Bun project is a peek at the future. Claude's transformation of the codebase underscores the raw potential of AI models to handle massive migrations. It's a glimpse into a world where AI plays a central role in, well, everything. Good luck, developers. You're gonna need it.
More from AI
Gemini Streamlines Google Calendar Planning for Easier Weeks
Pairing Gemini with Google Calendar transforms messy schedules into streamlined plans, saving time and reducing manual entry.
Can Gemini AI Spark Your Love Life? One User Says Yes
Tired of dinner and a movie? Rahul Naskar used Gemini AI to shake up his date nights. The results were pretty surprising.

Anthropic's Claude Mythos AI: Cybersecurity Savior or Pandora's Box?
Anthropic's Claude Mythos AI, still under wraps, claims it can detect browser vulnerabilities by the thousands. That's got the cybersecurity world talking, and pretty worried.

Golem Offers 15% Off AI Workshops Until May End
Golem Karrierewelt is offering a 15% discount on AI workshops and e-learning courses covering Copilot, AI foundations, and the EU AI Act until May ends.
Don’t miss these

Leaked Xbox Cloud Controller Features Wi-Fi for Game Pass
Leaked images show a new Xbox Cloud Gaming controller with Wi-Fi and Bluetooth, enhancing Microsoft's Game Pass offerings.

Amazon Discounts M5 MacBook Pro by $300, iPhone 16e Also Drops
Big Apple savings just dropped on Amazon. Score an M5 MacBook Pro for $1,499. Plus, iPhone 16e starts at $449.

ChatGPT Mac App Needs Urgent Update After OpenAI Breach
Got the ChatGPT Mac app? You'll need to update it by June 12. A security breach hit OpenAI employee devices, forcing certificate revocations. Your data's safe, but the app won't work without the patch.

Tech Giants Won. Your Data Center's Carbon Footprint Just Got Bigger.
Big Tech just scored a win, but environmentalists might call it a loss. Amazon, Meta, and others successfully lobbied against stricter CO2 rules for their gas-guzzling data centers, citing 'investment concerns.' What does that mean for your cloud services?

Neon Vision Editor: Lean Coding for Apple Users
Tired of bloated development environments? Neon Vision Editor trims the fat, giving Apple users a lean, fast option for everyday coding and text editing.

Anker Drops 140W 4-in-1 Charger for €70 on Amazon
Anker's 140W GaN charger just hit Amazon for €69.97. It charges four devices at once, complete with a smart display for real-time power monitoring.