Live data from Hacker News

Claude Code uses Bun written in Rust now

simonwillison.net

131–140 of 920 posts

Re: Claude Code uses Bun written in Rust now

#131

Earlier quoted context omitted.

> Update: The Rust version has been released as Bun canary - running bun upgrade --canary will install this release.)

Yeah, of course Anthropic making the version publicly available AFTER people notice it wasn't public, completely solves the issue ;)

You seem to be wrong about that

Nevertheless, the principles of open source never demanded more than providing the source upon request.

Re: Claude Code uses Bun written in Rust now

#132

Earlier quoted context omitted.

You can; it feels contrived and very social justice warrior/anti Anthropic (which on HN is in of itself almost a meme now). The main reason was because of the blanket AI move which I could understand.

I think your perception of events is pretty heavily affected by personal bias here. Objecting to a hasty AI rewrite of an entire runtime and objecting to violating the spirit of FOSS is “very social justice warrior”? What?

Please re read your original comment. AI rewrite is one thing and objecting to FOSS/non FOSS is a new argument, anti-Anthropic etc is moving the goal posts. The main argument was the blanket rewrite to Rust using Claude.

Now, /you/ are trying to move the goalposts into an entirely different argument.

Very likely it’s just anti Anthropic altogether.

Like I said, a meme.

Anthropic hasn’t done anything wrong but if they move a single inch then people will complain. Perhaps it is just a preview version?

Re: Claude Code uses Bun written in Rust now

#133

Earlier quoted context omitted.

I think your perception of events is pretty heavily affected by personal bias here. Objecting to a hasty AI rewrite of an entire runtime and objecting to violating the spirit of FOSS is “very social justice warrior”? What?

Please re read your original comment. AI rewrite is one thing and objecting to FOSS/non FOSS is a new argument, anti-Anthropic etc is moving the goal posts. The main argument was the blanket rewrite to Rust using Claude. Now, /you/ are trying to move the goalposts into an entirely different argument. Very likely it’s just anti Anthropic altogether. Like I said, a meme. Anthropic hasn’t done anything wrong but if they…

Airing two entirely separate objections to a project is not “moving the goalposts”. The original objection still stands! You’re using a phrase you’ve heard in an inappropriate context.

I’m sorry but this is a nonsensical debate.

> Now, /you/ are trying to move the goalposts into an entirely different argument.

You said something and I responded to it. That’s invalid too now? There can only ever be one single objection in a conversation? I’m not permitted to react to the things said? Like I said, nonsense.

Re: Claude Code uses Bun written in Rust now

#134
post #40
post #5

Earlier quoted context omitted.

Why does changing to Rust kill the project? I don't understand the point here.

Rust as a language is irrelevant to this discussion, the problem is that bun was vibe coded by a single dude without any open source community involvement. “bun the open source project” is basically dead at that point: don't expect any of the zig enthusiasts who had their code being forcibly rewritten in a language they don't like to follow Jared. “bun the JavaScript runtime ” is not dead though.

That's just like your opinion...? More power to Jared (and anyone else) if they can "vibe code" useful projects like bun.

Re: Claude Code uses Bun written in Rust now

#136
post #96

Earlier quoted context omitted.

I wouldn’t use language as strong as OPs but it is against the spirit of FOSS for a corporate owner to use a private prerelease version of their open source software. I think it’s valid to object to. If 1.4 is good enough to be used by Claude, why not us?

So you wouldn't, for example, after doing a complete ground-up rewrite, perhaps spend a few months dogfooding it to work out the worst bugs before unleashing it upon the public, thus maximizing your initial velocity by minimizing the blast radius and support requests and triage during this phase?

It's Anthropic. I am pretty sure they spent time dogfooding it to Mythos or an even more advanced model.

That might even be the reason why they switched to rust.

Don't worry too much.

Re: Claude Code uses Bun written in Rust now

#138
Whatever the headaches of the internals, I haven’t heard any substantive outcomes in hacker news that have been impacted by this change.

Yes if we had a Zig->Rust transpiler maybe it would produce similar output. But I can’t find one. We’d have to use an agent to build one first :)

Re: Claude Code uses Bun written in Rust now

#140

It's a transpile. And not even a good one. The generated code is far from idiomatic rust. Some may consider it an abomination.

Seems to be working just fine though?

And like, this is just the beginning of the port. They did a mechanical port basically line by line, next step is to make it idiomatic rust.

I thought by now people would’ve learned to stop betting against this rewrite.

Post reply on HN