News for hackers. Stuff that matters.
Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @01:29PM (#48970014)
> But the whole point of their product is that it supposedly nullifies such "business" concerns around the use of technology, by making it cheap and fast to build whatever you like automatically.

This is a spectrum, it's not just 0% vs 100%. Even Fable frakked up a few things really badly in my professional work (though to its credit after a very detailed 2h chat it self-corrected and fixed all the blunders).

I would also challenge "fast" -- Fable (and I assume Mythos) are wicked fast and efficient and even they can't compensate for f.ex. slow recompilations or test suite reruns or security scans, linters etc.

Reminder that the Bun's Zig-to-Rust rewrite took 11 days with dozens of agents working 24/7 and the author put the cost they'd pay (if they had to pay) at about $168k.

Re:Claude Code uses Bun written in Rust now by hyperpape on Sunday July 19, 2026 @01:52PM (#48970226)
> $168k

Billions of dollars of annual revenue go through Claude Code, and the people who work on it must be a lot of millions in headcount.

The time matters a fair bit, it's probably time someone can't spend breaking things in the name of new features, but if rewriting the stack had even a tiny impact on retention or driving higher usage, it would pay back that $168k.

Re:Claude Code uses Bun written in Rust now by NDizzle on Sunday July 19, 2026 @02:11PM (#48970378)
The company I work for is about 15mm into what is effectively a rewrite. Just a lone data point…
Re:Claude Code uses Bun written in Rust now by NuclearPM on Sunday July 19, 2026 @06:31PM (#48972261)
Millimeters?
Re:Claude Code uses Bun written in Rust now by ak39 on Sunday July 19, 2026 @06:54PM (#48972423)
I read "man months".
Re:Claude Code uses Bun written in Rust now by ariwilson on Sunday July 19, 2026 @06:47PM (#48972383)
15 million dollars
Re:Claude Code uses Bun written in Rust now by malkia on Sunday July 19, 2026 @09:47PM (#48973540)
15 million mollars :)
Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @02:01PM (#48970299)
Yep, same thought. And it seems Anthropic agrees.
Re:Claude Code uses Bun written in Rust now by sscaryterry on Sunday July 19, 2026 @06:25PM (#48972221)
If only paying the $168k was some sort of a guarantee. Vibing doesn't give you that.

You might get more maintainable code for $168k by hiring humans, but if its something bespoke it isn't going to get you far (or far quickly).

Vibing is straight out gambling right now, the thing is, I don't know who the house is any more.

Re:Claude Code uses Bun written in Rust now by nomel on Sunday July 19, 2026 @07:31PM (#48972681)
It's going to take an order of magnitude longer though, delaying any of that revenue significantly. I'm sorry, but we're talking 11 days here. What does "maintainable" even mean with impossible time-scales like this now!?
Re:Claude Code uses Bun written in Rust now by sscaryterry on Sunday July 19, 2026 @08:14PM (#48972952)
The new normal is there is no normal. No common sense, FOMO, YOLO, everything combined is what we're living right now :)
Re:Claude Code uses Bun written in Rust now by nkrisc on Sunday July 19, 2026 @08:27PM (#48973038)
Perpetual complete rewrites. When there’s more bugs the LLM can fix, rewrite the whole codebase. Repeat ad infinitum.
Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @08:56PM (#48973228)
True on the premise, remains to be seen if that's what's going to happen in practice.

In my work I have Fable/Opus add bespoke linters and tie them to verify/precommit tasks (including in CI) so nothing of the reworks and 15+ initiatives we have in flight ever regresses.

Some discipline will remove that worry of yours. It's not nice to immediately assume that the rewrite's orchestrator (Jarred) did not use discipline. He even outlined a few false starts.

Re:Claude Code uses Bun written in Rust now by throwaway7783 on Sunday July 19, 2026 @08:36PM (#48973100)
.. by hiring the right humans - which is not always a given
Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @09:04PM (#48973296)
Even worse: it's much safer to assume you'll hire the wrong humans, most of the time.
Re:Claude Code uses Bun written in Rust now by coldtea on Sunday July 19, 2026 @02:17PM (#48970446)
>Reminder that the Bun's Zig-to-Rust rewrite took 11 days with dozens of agents working 24/7 and the author put the cost they'd pay (if they had to pay) at about $168k.

For an entity like Anthropic that's not even the cost of a single developer for a year. It's closer to what they pay a chef on premises.

That the showstopper for a better Claude agent is that they'd need to pay $168k or event $1M or even $10M in costs, can't be used as an excuse.

Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @03:12PM (#48970882)
I don't work for them and I don't know their priorities. I can only speculate they're not okay with it but no idea why exactly.
Re:Claude Code uses Bun written in Rust now by hluska on Sunday July 19, 2026 @04:29PM (#48971440)
Do you know their entire roadmap? If not, maybe different people prioritize things differently when they see their full strategic position.
Re:Claude Code uses Bun written in Rust now by coldtea on Sunday July 19, 2026 @05:22PM (#48971764)
How is that relevant to my response?

The argument I responded to argued that cost might be the prohibiting factor. I'm saying that for them, the costs mentioned are negligible.

Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @09:03PM (#48973288)
I didn't claim that the cost is the prohibiting factor at all. Obviously they gave Jarred free Fable access and to do as his pleases. The cost was an FYI tidbit and nothing more.

What I argued was that you seemed to have been arguing an extreme point i.e. LLMs can one-shot stuff in any PL and that it does not matter in what PL they'd rewrite Bun.

If I misunderstood -- my apologies.

Re:Claude Code uses Bun written in Rust now by coldtea on Monday July 20, 2026 @06:05AM (#48976620)
Well, I never said anything about one-shotting it.

What I said is, those AI companies push LLMs as the replacement of programmers, that can do everything code-wise, say their programmers "don't write code anymore" etc.

So how come they can't have the LLM write something better than "react for cli" for their flagship agent product?

Re:Claude Code uses Bun written in Rust now by pdimitar on Monday July 20, 2026 @06:23AM (#48976778)
My only half-decent guess: they deem it too big and risky and believe they'll lose revenue while working on it and ironing out remaining kinks.

Claude Code is likely not well-specified and it's a product of rapid iteration and now nobody really knows how the whole thing works. LLMs don't do well when requirements are muddy.

Re:Claude Code uses Bun written in Rust now by jbvlkt on Sunday July 19, 2026 @05:47PM (#48971973)
Lets see what happens in the future. From my experience cost of maintaining this amount of shitty code explodes pretty quickly. We will see in a few years if SW development in all phases using agents is that much automated and easy as people now predict.
Re:Claude Code uses Bun written in Rust now by shafyy on Sunday July 19, 2026 @03:56PM (#48971215)
> Reminder that the Bun's Zig-to-Rust rewrite took 11 days with dozens of agents working 24/7 and the author put the cost they'd pay (if they had to pay) at about $168k.

Does anybody really believe that it only took 11 days, one engineer and $168k in tokens?

Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @04:02PM (#48971259)
I know what Fable did for just 5x6h sessions, singular agent, for my professional work.

Jarred used many agents and they worked 24/7. It tracks for me.

So yes, I do believe it. What makes you skeptical?

Re:Claude Code uses Bun written in Rust now by simonw on Sunday July 19, 2026 @05:02PM (#48971633)
It played out in public on the GitHub repository, so yes.
Re:Claude Code uses Bun written in Rust now by greenavocado on Monday July 20, 2026 @07:37AM (#48977367)
100% believe it. I use multi agent orchestration within oh-my-pi and it can absolutely do targeted things like this.
Re:Claude Code uses Bun written in Rust now by mobelkh on Sunday July 19, 2026 @06:37PM (#48972323)
can't imagine rewriting a runtime to be easier than a coding harness
Re:Claude Code uses Bun written in Rust now by usef- on Sunday July 19, 2026 @07:54PM (#48972822)
You might be surprised. Runtimes can be easier to test than UI for AI, and the bun rewrite was almost line-for-line translation, whereas CC likely uses many more libraries that cannot be ported directly.

The major open harnesses are in the ~800k lines of code size ( https://simonwillison.net/2026/Jul/15/grok-build/ ) and CC is the oldest and quite-likely largest judging by features.

Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @06:42PM (#48972361)
It's really not about a PL runtime vs. an agent harness, it's about how spaghetti and complex the code is. I do get your point though.
Re:Claude Code uses Bun written in Rust now by TurdF3rguson on Sunday July 19, 2026 @07:51PM (#48972806)
It has to have been purely a marketing move. There's no other way that acquiring a software product for millions and then completely rewriting it makes any sense.
Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @07:58PM (#48972859)
Maybe it's one of the cases when techies call the shots?

I can understand people being more sold on Rust compared to Zig -- there are legitimate differences on the memory safety front and I can see how people will prefer one or the other.

Plus I believe Jarred (Bun's main dev) went out of his way to explain why he chose Rust over Zig in his blog post.

Of course the marketing angle might indeed be the explanation; not arguing against that, I simply followed with interest and Jarred seemed very reasonable to me.

Re:Claude Code uses Bun written in Rust now by TurdF3rguson on Sunday July 19, 2026 @08:08PM (#48972919)
The rewrite makes sense, it's all their dog food at that point. It's the acquisition that doesn't make sense. Why didn't Anthropic just rewrite it themselves?
Re:Claude Code uses Bun written in Rust now by pdimitar on Sunday July 19, 2026 @08:20PM (#48972996)
Good question. I'd guess they didn't want community split?
Re:Claude Code uses Bun written in Rust now by tonyhart7 on Sunday July 19, 2026 @08:26PM (#48973024)
"Why didn't Anthropic just rewrite it themselves?"

they rewrite themselves, Bun team is under Antrophic umbrella