Top
Best
New

Posted by SergeAx 9 hours ago

Bun is being ported from Zig to Rust(github.com)
506 points | 359 commentspage 4
thatxliner 7 hours ago|
Didn't they write a whole blog post on why they chose Zig over Rust?
apatheticonion 5 hours ago||
Having written a JavaScript runtime in Rust in the past - Rust is an excellent choice. Not just due to the development experience, but also for embedders who want to consume the project as a a library (rather than a binary, e.g. node).

Not sure about vibe-coding it. While they aren't using v8, LLMs made it easier to understand v8 quirks and update v8 as they make weird changes every now and then. It couldn't write the runtime without help though.

For those curious: https://github.com/alshdavid/ion

classicposter 7 hours ago||
https://x.com/bunjavascript/status/1966806250827714736

Haha, is it really okay not to retract that that the official account previously posted a caricature criticizing Rust?

Petersipoi 7 hours ago|
Yes, it's quite ok to not "retract" a goofy image from months ago. It's harmless fun.
arthurcolle 9 hours ago||
Could just be an experiment or something. It's Monday, the week is young
born-jre 3 hours ago||
Let the guy cook, would be nice benchmark of llm nothing else. Damn I wish I had access to infinite tokens for crazy experiments like this.
holysantamaria 3 hours ago||
Maybe Mythos told them to quit using zig because it is not safe
dmytrish 1 hour ago|
You don't need Mythos for that, just open the bun issue tracker and filter for "segmentation fault".
davidtranjs 6 hours ago||
this isn't vibe coding. this is vibe rewriting. ~500k lines of code. nobody is reading those diffs line by line. nobody.
ngoquocdat 7 hours ago||
I think they are simply experimenting to fully exploit Claude's models' powerful capabilities.
notnullorvoid 8 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.
kadhirvelm 3 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
More comments...