Top
Best
New

Posted by SergeAx 11 hours ago

Bun is being ported from Zig to Rust(github.com)
540 points | 378 commentspage 5
notnullorvoid 9 hours ago|
Probably a good thing for the project even if the only net positive ends up being the Bun team stops maintaining a fork of Zig.
ratstew 9 hours ago||
This feels more like a reaction to Zig's anti-LLM policy than anything. Anthropic would probably like to contribute something back to Zig at some point, but I doubt anyone would ever believe their PRs were not written by Claude.
lioeters 9 hours ago|
Exactly, this is a direct response to Zig refusing to accept pull requests from Bun (and Anthropic). That situation forced Bun to maintain a fork of Zig, and it makes sense in the long term that they'd rather port their entire project to Rust.

I've really enjoyed Bun the past year or so, but the acquisition by Anthropic, Bun's codebase and documentation increasingly becoming AI slop, and this impulsive complete rewrite - all of it has ruined it for me and I'm actively moving off of Bun. I don't feel comfortable relying on it any longer.

Capricorn2481 8 hours ago||
Zig said they wouldn't have accepted the changes without AI either.
lioeters 8 hours ago||
You're right, I was just now reading the full explanation. https://ziggit.dev/t/bun-s-zig-fork-got-4x-faster-compilatio...

This makes me respect Zig team's stance more, that it's a technical decision more than an ideological one.

shevy-java 2 hours ago||
Poor Zig - it's bleeding now.

Everyone wants to be a Rustee these days.

kadhirvelm 4 hours ago||
I can't imagine going from reviewing code in Zig to letting Claude code handle it in Rust. Seems like a lot of change to deal with in a short amount of time. Wonder how much the bun team culture will change? We've been really liking bun so far
kandros 4 hours ago||
Unexpected, I was waiting for them to maintain a zig fork
simultsop 8 hours ago||
Which makes one think, why they did not buy deno at first place then?

If they did, I guess they would rewrite deno in C++

_pdp_ 4 hours ago||
Claude Mythos cannot do the porting?
icase 8 hours ago||
oh for christ’s sake
confessinator 9 hours ago||
Aside from Zig's anti-AI stance and maintaining their own Zig fork, I think this port will showcase that Anthropic can re-engineer a massive codebase.

As an aside, I've been bitten by Zig's breaking changes on my own projects as well. It's taken the shine off of Zig and I'm looking at alternatives.

More comments...