logoalt Hacker News

hasperditoday at 6:10 PM3 repliesview on HN

Sure Bun has its benefits, but I don't see the strategic reasons why Anthropic is doing this


Replies

skybriantoday at 6:34 PM

Apparently Claude Code being built on Bun was considered a good enough reason? But it looks more strategic for Bun since they’re VC-backed and get a good exit:

> Claude Code ships as a Bun executable to millions of users. If Bun breaks, Claude Code breaks. Anthropic has direct incentive to keep Bun excellent.

> Bun's single-file executables turned out to be perfect for distributing CLI tools. You can compile any JavaScript project into a self-contained binary—runs anywhere, even if the user doesn't have Bun or Node installed. Works with native addons. Fast startup. Easy to distribute.

> Claude Code, FactoryAI, OpenCode, and others are all built with Bun.

> Over the last several months, the GitHub username with the most merged PRs in Bun's repo is now a Claude Code bot. We have it set up in our internal Discord and we mostly use it to help fix bugs. It opens PRs with tests that fail in the earlier system-installed version of Bun before the fix and pass in the fixed debug build of Bun. It responds to review comments. It does the whole thing.

> This feels approximately a few months ahead of where things are going. Certainly not years.

> We've been prioritizing issues from the Claude Code team for several months now. I have so many ideas all the time and it's really fun. Many of these ideas also help other AI coding products.

> Instead of putting our users & community through "Bun, the VC-backed startups tries to figure out monetization" – thanks to Anthropic, we can skip that chapter entirely and focus on building the best JavaScript tooling.

https://bun.com/blog/bun-joins-anthropic

viraptortoday at 6:12 PM

Same thought and I can't wait for a video with a very confused Theo...

I mean, it's likely very important for them to have a fast and sandboxed code executor available. But it's not like Bun would fight against improvements there or refuse paid work on specific areas, right?

m0llusktoday at 6:13 PM

Turn every potentially useful development tool into some LLM hype bullshit to grow the bubble.