News for hackers. Stuff that matters.
Re:Claude Code uses Bun written in Rust now by ranguna on Sunday July 19, 2026 @07:44AM (#48967231)
The PR is public, you can build and use it as well. The anthropic team just decided to use it, and you can as well.
Re:Claude Code uses Bun written in Rust now by embedding-shape on Sunday July 19, 2026 @07:49AM (#48967269)
> The PR is public

I'm talking about the 1.4.0 release:

> Claude supports them shipping a preview of a not-yet-released Bun version

Maybe Bun/Anthropic fixed this after Simon's initial release of the blog post, but seemingly when we both looked, it wasn't public.

Re:Claude Code uses Bun written in Rust now by thevinter on Sunday July 19, 2026 @07:54AM (#48967301)
> Update: The Rust version has been released as Bun canary - running bun upgrade --canary will install this release.)
Re:Claude Code uses Bun written in Rust now by embedding-shape on Sunday July 19, 2026 @08:01AM (#48967356)
Yeah, of course Anthropic making the version publicly available AFTER people notice it wasn't public, completely solves the issue ;)
Re:Claude Code uses Bun written in Rust now by Lerc on Sunday July 19, 2026 @08:15AM (#48967463)
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 by simonw on Sunday July 19, 2026 @08:06AM (#48967394)
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 by nicce on Sunday July 19, 2026 @08:34AM (#48967629)
Claude Code has shipped Bun 1.4. already more than month ago: https://github.com/anthropics/claude-code/releases?q=bun&exp...

Version was changed in Bun in May 18

https://github.com/oven-sh/bun/commit/b18bf6d1d0a92238f240bf...

So it has been canary since then, most likely, if docs are accurate that latest main is canary.

Re:Claude Code uses Bun written in Rust now by pygy_ on Sunday July 19, 2026 @08:05AM (#48967380)
Does `bun upgrade` provide the source code?
Re:Claude Code uses Bun written in Rust now by mort96 on Sunday July 19, 2026 @09:26AM (#48968047)
Isn't the source code in the git repo?
Re:Claude Code uses Bun written in Rust now by pygy_ on Sunday July 19, 2026 @09:33AM (#48968093)
v1.4 hasn't been tagged... No idea what the shipped binary corresponds to.
Re:Claude Code uses Bun written in Rust now by tln on Sunday July 19, 2026 @11:52AM (#48969227)
Yes, it provides the commits for a "changelog". Canary builds track main closely, 98f664962 is the tip of main.

~$ bun upgrade [2.42s] Upgraded.

Welcome to Bun's latest canary build!

Report any bugs:

    https://github.com/oven-sh/bun/issues
Changelog:

    https://github.com/oven-sh/bun/compare/f161e0311...98f664962