Bun is being ported from Zig to Rust

Bun’s big language switch has fans asking if this is genius, chaos, or an AI stunt

TLDR: Bun appears to be testing a major rewrite, with a new guide showing how it could move from Zig to Rust. Commenters are split between seeing a smart long-term shift, a bizarre gamble, or a hilarious AI-fueled experiment gone public.

A single commit quietly dropped a 622-line porting guide, and suddenly the internet is acting like it just found a reality-show plot twist in the middle of a software project. Bun — a popular tool for running and building JavaScript apps — appears to be exploring a move from Zig to Rust, and the community reaction is less “oh neat” and more “wait, WHAT is happening?” One commenter flat-out said it feels like “an experiment” and added that, if true, it’ll be “a hell of a story.” That pretty much set the mood: curiosity mixed with popcorn-grabbing suspicion.

The biggest debate is why now. Some people are genuinely confused, asking what would make the team want to swap out one foundation for another after building so much already. Others are using the moment to reopen old arguments, saying Bun always seemed like an odd bet in Zig in the first place, especially if the tools around it were shaky. And then came the real drama: commenters connected this move to wider anxiety around Bun’s ownership and whether this is a serious engineering plan or, as critics snarked, “vibe coding” on a massive scale. The funniest hit came from the peanut gallery with the instant classic: “Claude, migrate bun to Rust, make no mistakes.” In other words, the code change is news — but the comments section is the main event.

Key Points

  • A commit with ID 46d3bc2 in the Bun repository is titled "docs: add Phase-A porting guide."
  • The commit is attributed to Jarred Sumner and appears on the branch claude/phase-a-port.
  • The change adds 622 lines with no deletions across two files.
  • The files added are docs/PORTING.md and scripts/port-batch.ts.
  • The article title frames the commit as part of porting Bun from Zig to Rust.

Hottest takes

"that'll be a hell of a story" — heldrida
"massive undertaking for vibe coding" — stingraycharles
"Claude, migrate bun to Rust, make no mistakes" — larpa
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.