logoalt Hacker News

yladiztoday at 1:25 AM5 repliesview on HN

Why? Are there particular reasons that the maintainers of Bun feel the need to attempt to migrate from Zig to Rust?


Replies

_--__--__today at 1:34 AM

Possibly related to https://simonwillison.net/2026/Apr/30/zig-anti-ai/ where the Bun team wanted to upstream work to Zig that was rejected by a blanket anti-LLM contribution policy.

show 1 reply
nikeeetoday at 1:34 AM

Zig is a moving target that has breaking changes in every release (which is fine as they are sub-1.0). But that means that AI tools have been trained on outdated syntax/etc. Zig isn't that common, so there is even less training data to begin with.

Rust on the other hand is pretty established by now and has less breaking changes. It also has more compile-time safety-guarantees that makes vibe-coding a bit more confident.

In top of that, Zig has rejected their upstream contributions. So they'd have to maintain their own compiler in the long run, which is probably just technical debt to maintain.

show 1 reply
reissbakertoday at 1:32 AM

Probably an experiment due to Bun's PRs to Zig being rejected (Zig does not allow AI use). If Rust works well enough, and the alternative is maintaining a fork of Zig, I'd guess they'd go with Rust.

show 2 replies
tom_today at 2:01 AM

If the computer can do it for them, then why not?

sourcegrifttoday at 1:47 AM

[flagged]

show 4 replies