News for hackers. Stuff that matters.
Re:How is the Bun Rewrite in Rust going? by losvedir on Monday July 27, 2026 @08:15AM (#49068554)
I'm not sure Anthropic even cares about "releasing" the next version. The rust one has been in use in Claude Code for more than a month now, used by millions of people, and that's as far as they probably really worry about it. They bought Bun for Claude Code and I doubt the open source project matters to them otherwise.
Re:How is the Bun Rewrite in Rust going? by usef- on Monday July 27, 2026 @08:17AM (#49068571)
I very much doubt they would want to abandon the wider community. They do benefit from others using it.

To the contrary, I think any problem with this release would be jumped on harshly so they're being more careful than usual. There's not a rush for the community to move to 1.4 and any issues could poison the community trust.

Re:How is the Bun Rewrite in Rust going? by egorfine on Monday July 27, 2026 @11:09AM (#49070785)
Like this rewrite did not terminally poison trust?
Re:How is the Bun Rewrite in Rust going? by usef- on Monday July 27, 2026 @06:17PM (#49076183)
Has it impacted your use case negatively?
Re:How is the Bun Rewrite in Rust going? by rienbdj on Monday July 27, 2026 @08:24AM (#49068654)
Anyone know why? Can’t CC run on any JS runtime?
Re:How is the Bun Rewrite in Rust going? by Atotalnoob on Monday July 27, 2026 @09:28AM (#49069436)
Yes, but it’s slower on non-bun runtimes. Nowadays, I believe they bundle bun with CC

They chose to use a react rendering to native TUI renderer, which was a source of a lot of performance issues.

AFAIK, they have written a new renderer.

Re:How is the Bun Rewrite in Rust going? by bigstrat2003 on Monday July 27, 2026 @11:37AM (#49071162)
> They chose to use a react rendering to native TUI renderer, which was a source of a lot of performance issues.

That's such a stupid engineering choice that it really makes one question if the people working at Anthropic have any software engineering ability at all. There's no excuse for running React in a freaking TUI.

Re:How is the Bun Rewrite in Rust going? by well_ackshually on Monday July 27, 2026 @01:38PM (#49073029)
>AFAIK, they have written a new renderer.

Which is equally terrible and has earned them every single rendering engineer in the world taking the piss out of them when they proudly announced it was as complicated as rendering a video game.

Re:How is the Bun Rewrite in Rust going? by solid_fuel on Monday July 27, 2026 @04:46PM (#49075308)
> They chose to use a react rendering to native TUI renderer, which was a source of a lot of performance issues.

The source of the performance issue here is their own incompetence, actually. I have never in my entire career heard of a rendering pipeline as idiotic as the custom one they built.

Re:How is the Bun Rewrite in Rust going? by jFriedensreich on Monday July 27, 2026 @08:46AM (#49068897)
because their js code is so bad and slow that they need the bun performance hacks and optimisations.
Re:How is the Bun Rewrite in Rust going? by jdiff on Monday July 27, 2026 @09:30AM (#49069459)
Do these hacks make bun less secure than other runtimes? I find it a little hard to believe you can get much more robust and performant than V8 or SpiderMonkey without cutting some corners that notably went uncut by either for all these years.
Re:How is the Bun Rewrite in Rust going? by msdz on Monday July 27, 2026 @09:53AM (#49069727)
Bun uses JavaScriptCore, which is Safari’s JS engine, for the actual interpreter portion of its runtime.

Which makes the parent comment’s “Bun performance hacks and optimizations” sound a little far-fetched, at least in this scenario I don’t think that’s gonna be the deciding factor. Their vendored JSC is also not touched by this port-rewrite at all whatsoever (still Cpp), so I’m not sure if it’s even possible to hack-improve all that much there.

Re:How is the Bun Rewrite in Rust going? by jFriedensreich on Monday July 27, 2026 @10:53AM (#49070567)
yes, especially compared to deno bun does not have proper isolation or permissions at runtime layer which is why anthropic tries to fix the lack by a mixture of app layer (build into claude code) and os layer (srt) however using runtime permissions would allow much better security if done right.
Re:How is the Bun Rewrite in Rust going? by pornel on Monday July 27, 2026 @09:11AM (#49069222)
It's just a marketing stunt. They've got the ad for Claude-powered code rewrites, and that worked beautifully. Everyone got the message: spend big bucks with Anthropic to get rid of whatever codebase bugs you - please, think of the IPO!

If it was about Claude Code itself, they could have rewritten it. They keep saying they don't even write code any more, so it shouldn't even matter what language it's in.

Re:How is the Bun Rewrite in Rust going? by mikeocool on Monday July 27, 2026 @09:19AM (#49069325)
If that is really what they are concerned with, they probably could have just had Claude Code rewrite Claude Code in rust? That likely would be far more efficient than changing the language of your typescript runtime that ships to run your react-based CLI app.

I imagine the $800k or whatever this has cost is coming out of Anthropic's marketing budget, so they can make a big splash about it.

Re:How is the Bun Rewrite in Rust going? by wrs on Monday July 27, 2026 @12:08PM (#49071615)
If you look at the reasons for rewriting Bun [0], they weren’t about efficiency and they don’t apply to Claude Code. It’s already written in a memory-safe language, and doesn’t have to interface to a library with a tricky set of invariants.

[0] https://bun.com/blog/bun-in-rust

Re:How is the Bun Rewrite in Rust going? by neuronexmachina on Monday July 27, 2026 @09:35AM (#49069521)
> If that is really what they are concerned with, they probably could have just had Claude Code rewrite Claude Code in rust

Rewriting a runtime with well-defined interfaces and behavior is quite different from rewriting a user-facing application under active development by a decent chunk of their organization.

Re:How is the Bun Rewrite in Rust going? by SpicyLemonZest on Monday July 27, 2026 @10:54AM (#49070583)
I agree, but this difference is very frustratingly omitted from the hype-sphere surrounding the rewrite, even though most software developers don't work on a runtime with well-defined interfaces and behavior. I know a number of people who've developed severe FOMO that their projects take longer than 2 weeks and maybe it's because they're not AI native enough.

(I don't mean to be critical of the Bun maintainers, who have always been open about the fact that they leveraged the specific context of their project to do this effectively.)

Re:How is the Bun Rewrite in Rust going? by epolanski on Monday July 27, 2026 @11:58AM (#49071464)
Why wouldn't they?

Bun is a major part of the web ecosystem, having it developed by them via AI, sounds like a gigantic pr win.

Re:How is the Bun Rewrite in Rust going? by qudat on Monday July 27, 2026 @02:14PM (#49073482)
It’s not. Node is part of the web ecosystem. Bun was a way to upsell paas
Re:How is the Bun Rewrite in Rust going? by solid_fuel on Monday July 27, 2026 @04:43PM (#49075265)
> Bun is a major part of the web ecosystem

It was never that large but it did have a shot at getting more popular - until this drama.

No one worth their salt is building on Bun anymore, the creators and maintainers of bun have demonstrated their complete lack of care around engineering and support. It’s just too risky.

Re:How is the Bun Rewrite in Rust going? by epolanski on Monday July 27, 2026 @05:20PM (#49075665)
I regularly use bun, it's a decisive speed improvement over node. Large parts of the ecosystem build on bun.

If you install bun you're still getting the zig version.

I don't see major reasons to doubt the rust rework, especially as so much capital and token investment is being thrown at it.

As long as it fits better than alternatives, I see no major reasons to change.

Re:How is the Bun Rewrite in Rust going? by solid_fuel on Tuesday July 28, 2026 @09:26PM (#49092304)
> If you install bun you're still getting the zig version.

> I don't see major reasons to doubt the rust rework, especially as so much capital and token investment is being thrown at it.

You shouldn't trust the rust rework. Despite the mountains of capital and token investment which have been thrown at it, they still only ship the zig version to users.