Live data from Hacker News

Claude Code uses Bun written in Rust now

simonwillison.net

121–130 of 920 posts

Re: Claude Code uses Bun written in Rust now

#121
post #56
post #16

Earlier quoted context omitted.

The objection isn’t to the language. It’s to Claude using a version of Bun that is not available to us. We don’t know what’s actually in it.

It may be available to us, in the form of a git checkout of their public repository. It's true that we don't know exactly which, and whether or not there are any other changes added on, but that is the case for every single release of Claude Code that has used bun.

It's probably not. I tried to extract the commit hash from the version of bun packaged in claude code. the commit hashes from previous versions resolve, whereas the commit hash for the current 1.4.0 isn't available.

from strings:

   bun-v1.4.0
   f6d0fcd24abd48061873c2f1a6fb2a67eee487b8
    Upgraded.
   Welcome to Bun's latest canary build!
This build does have a different way of identifying itself than earlier builds so it's possible this string isn't correct.

(In contrast, earlier builds that I have locally have commit IDs that can be found in the public repo). I don't think it's particularly damning for them to vendor a canary release, mind you.

Re: Claude Code uses Bun written in Rust now

#122

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 ;)

Anthropic changed nothing since I wrote published this post a few hours ago - I updated my post to mention Bun canary since it was a point of confusion here on Hacker News.

Re: Claude Code uses Bun written in Rust now

#123
post #37

Earlier quoted context omitted.

You can install it now we with bun upgrade —-canary it something along those lines.

I think you’re missing a word or two.

Based on comments elsethread, I think what was meant is: You can install it now with “bun upgrade --canary”, or something along those lines.

However, people also report that the canary version doesn’t identify itself as version 1.4.

Re: Claude Code uses Bun written in Rust now

#124
post #18

Earlier quoted context omitted.

It’s made absolutely no negative difference, as we’ve seen in the real world in the last 60 days since the merge. I feel weird having to defend reality; reality being that it was merged nearly 2 months ago and tons of people have had their pitchforks out without a shred of actual evidence that this made bun worse in any measurable way. But they still insist it was a mistake. I’ve never met Jared or the bun team but I…

[flagged]

What a load of bs.

> Inevitable collapse

According to who? You? The well ackshually guy?

> Low in trust before acquisition

Cite your sources.

> Unreleased version

v140 is the canary version which has been available for a long time.

https://github.com/oven-sh/bun/releases/tag/canary

> Not open source anymore

Who died and made you the dictator of open source?

Your post is just a bunch of opinions and lies and speculation wrapped as facts.

Re: Claude Code uses Bun written in Rust now

#126
post #18
post #5

Earlier quoted context omitted.

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

It’s made absolutely no negative difference, as we’ve seen in the real world in the last 60 days since the merge. I feel weird having to defend reality; reality being that it was merged nearly 2 months ago and tons of people have had their pitchforks out without a shred of actual evidence that this made bun worse in any measurable way. But they still insist it was a mistake. I’ve never met Jared or the bun team but I…

The crux is:

> What is the governance structure for Bun by the way? Couldn't find any documents/explanations about how it's supposed to work. I'm guessing it's essentially just "Anthropic decides what gets done and accepted" today?

And this is a valid question. You are not "defending reality" by refusing to listen to it.

In summary and based solely on my understanding:

- Jared misled people about the intentions of the migration. It's not the worst thing in the world, but it's certainly worthy of criticism.

- Jared has commented before about locking out human contributors from open source projects. Whether he was making a larger point is irrelevant as his comment stands on its own.

- Other Bun contributors, past and future, outside of those employed by Anthropic, did not and likely will not have equal access to the model Jared used for the rewrite.

Jared, working in the public Bun repository, used tooling not available to his community to experiment with a signficant migration. He dismissed all concerns and told people it's just a bit of fun, and that it shouldn't be taken seriously. Most of the controversy would have been avoided were the experiment done in private.

None of this is a big scandal but questions about the project are entirely justified.

Re: Claude Code uses Bun written in Rust now

#127

Earlier quoted context omitted.

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?

> before unleashing it upon the public …but they have? Claude users are public, no? If they were dogfooding internally I’d agree with you.

Yeah. One single project that they control. Not thousands of other people's projects breaking, I'm sure with a ton of HN outcry over releasing "this pile of vibe coded slop" upon the poor populace.

You just can't win.

Re: Claude Code uses Bun written in Rust now

#129

Earlier quoted context omitted.

> The objection isn’t to the language. It’s to Claude using a version of Bun that is not available to us. I was responding to your GP comment. For weeks, it was uproar over the blanket AI move to Rust and now it’s this reason. That’s why I said the goalposts are being moved.

> For weeks, it was uproar over the blanket AI move to Rust and now it’s this reason. That’s why I said the goalposts are being moved. I'm just one person though, and have no problem with a move to language X, using tool Y, who cares? For "goalpost are being moved" to be valid here, you have to be able to point to someone saying one thing at one point, then same person putting a different target later. You're folding…

https://news.ycombinator.com/item?id=48843352

https://news.ycombinator.com/item?id=48837877

Re: Claude Code uses Bun written in Rust now

#130

Earlier quoted context omitted.

> before unleashing it upon the public …but they have? Claude users are public, no? If they were dogfooding internally I’d agree with you.

Yeah. One single project that they control. Not thousands of other people's projects breaking, I'm sure with a ton of HN outcry over releasing "this pile of vibe coded slop" upon the poor populace. You just can't win.

> you just can’t win

You could! You could not release a “pile of vibe coded slop” onto people’s machines. There don’t even appear to be any particular advantages to Claude upgrading early. If there are no one has been made aware of it.

Post reply on HN