用 Rust 重写 Bun 的进度如何?
How is the Bun Rewrite in Rust going?

原始链接: https://lockwood.dev/ai/2026/07/27/how-is-the-bun-rewrite-in-rust-going.html

作者对“用 Rust 重写 Bun”这一项目背后的叙事提出了质疑,该项目曾被宣传为 AI 可以有效取代人类开源维护者的证据。尽管 Bun 声称仅用 11 天就完成了重写,花费为 16.5 万美元,但作者认为这一数字具有误导性。 对 Bun 代码库的分析显示,该项目远未完成。距离上次发布版本已过去 11 周,且由“Robobun”(AI)提交的待处理合并请求(Pull Requests)数量自初步公告以来几乎翻了一番。此外,该项目通过持续的 CI/CD 使用和 Anthropic 员工的直接介入,仍在不断产生大量隐形成本。 作者认为,这次“重写”与其说是 AI 高效性的胜利,不如说是企业为了支撑 Anthropic 高估值而进行的“内部试用”。通过审视 Anthropic 的 C 语言编译器等停滞不前的副项目,作者对当前的 AI 炒作周期发出警告,并断言该项目的真实财务和运营成本远超公开宣称的数额。归根结底,这篇文章是对 AI 驱动的开发如何被营销以证明行业巨额估值合理性的一次怀疑性批判。

最近关于 Bun 运行时重写为 Rust 的讨论在 Hacker News 上引发了激烈争议,焦点集中在该项目的状态、方法论及成本上。 **核心观点如下:** * **发布状态:** 尽管 Bun 团队坚称重写进展顺利,且目前已在 Claude Code 工具中运行,但尚未进行公开版本发布(v1.4)。维护人员表示,发布推迟的原因是需要达到严格的 Node.js 兼容性基准。 * **“氛围编程”(Vibe Coding)争议:** 批评者认为,使用大语言模型(LLM)大规模转换代码库(从 Zig 到 Rust)会产生“垃圾代码”——这些代码不符合惯用写法、稳定性可能更差,且难以由人工维护。许多开发者对以“人工智能驱动”的重写取代人类专业知识持怀疑态度,认为该项目更多是一种营销噱头,而非可持续的工程实践。 * **经济考量:** 据估算,该项目已消耗了数十万美元的算力和 Token 费用。讨论者质疑其投资回报率(ROI)是否合理,尤其是考虑到此次重写似乎并未立即带来性能提升或可维护性的改善。 * **支持意见:** 支持者将该项目视为人工智能能力与工程开发速度的一次令人印象深刻的展示,认为在 Claude Code 等真实产品中进行的“金丝雀”测试足以作为概念验证。
相关文章

原文

I think it’s important to be very Canny when someone makes a claim that supports a company’s large valuation.

The Bun rewrite seems well positioned as proof-positive that AI and specifically Anthropic’s AI can do the work of open-source maintainers, for some money, but faster.

image

On the 8th of July 2026 Jarred Summner of Bun fame posted about “Rewriting Bun in Rust”. At the time, I felt pretty Canny, having already read about Anthropic’s C compiler and Cursor’s FastRender web browser. It seems like there is a lot of valuation money riding on the coding capabilities of AI, and a lot of marketing about those capabilities.

It’s not a huge stretch to link the acquisition of Bun by Anthropic with the choice to rewrite Bun with an Anthropic tool. In his article Jarred claims that over 11 days (between 3rd and 14th May 2026) and at a cost of $165,000 for Anthropic API calls the rewrite was done and then merged to main. This represents a cost of $15,000 dollars a day, a cost well outside the means of many open source maintainers. This number doesn’t seem to include the leviathan whirring of the CI/CD in the org’s Buildkite cluster, which appears to have been constantly whirring ever since the “rewrite” was “completed”.

Why do I put those two words in scare quotes?

Well, on the 9th of July a peer of mine in a group chat said something unsurprising given our current environment - breathlessly proclaiming that the era of AI had emerged, and its herald was the “Rewriting Bun in Rust” blog post. So, I decided to look into this. Since the 9th I’ve been having a closer look at the claims and the code, and today I cloned the Bun repo:

Receiving objects: 100% (1200304/1200304), 1.23 GiB | 11.97 MiB/s, done.

As of today, the 27th of July 2026, a six week period after the rewrite was merged to main, there’s still no release tag. It’s now been 11 weeks since the last Bun release tag:

2026-05-12 15:12:49 -0700  (tag: bun-v1.3.14)

The last time there wasn’t a Bun release in a month was between the 26th of October 2022 and the 7th of December 2022 when there was a gap of six weeks and November was skipped, between v0.2.2 and v0.3.0:

2022-12-07 00:37:40 -0800  (tag: bun-v0.3.0)
2022-10-26 21:06:02 -0700  (tag: bun-v0.2.2)

On the 9th of July, the number of open pull requests from robobun (a proxy for PRs made by claude code) was 1277. As of this moment, on the 27th of July that number is 2475 open PRs. I don’t claim to know for sure but as far as I can see the process of merging to main with Buildkite checks completed seems to take 40-ish minutes (sometimes it looks like it takes up to an hour and a half). At this rate if we want to merge all the open Claude PRs it’ll only take running the pipeline for 86 days, continuously.

Generously, some of these PRs don’t deal with Rust code. Further investigation was warranted. I initially clicked through some of the PRs and found some extremely reviewed ones.

At this point I began to suspect that much of the cost of the rewrite was off the books. While $15k a day in tokens widened my eyes a little (and maybe I’m naive, maybe that’s low), I hadn’t seen the numbers for the CI/CD costs of Buildkite, and as you might have noticed from above, some PRs were written by Anthropic employees. When I did analysis of the data it became clear to me that the project was ticking along with more Claude credits and more Anthropic employee involvement:

image

One of the assumptions I’ve made here is that Jarred Summner’s commits during the rewrite were using Claude.

It’s pretty clear that there was a big spike in Claude usage when the rewrite began. It seems like, now, Anthropic employee and Robobun involvement in Rust is ramping up:

image

It’s nice to see that the Anthropic employees involved seemed to have a good work-life balance, taking breaks on the weekend. But, it looks like that period is over. It seems like we’re ramping up to something, and there’s still no release tag.

What’s pretty obvious to me is that we can’t take it at face value that the rewrite is “done” or that it was “done” for $165k USD. The Bun team never made that claim, but I’ve seen and heard those breathless claims that the rewrite is proof of something, and I do still think we need to be Canny about claims that support a large valuation. Anthropic is dogfooding this, the machine is still ticking along, and Anthropic employees are directly involved. If we imagine that the rewrite is still costing $10k a day, we’re approaching $800k in money spent on this rewrite.

I’m not a primitivist when it comes to AI. Work I’ve done on ML and AI has been some of the work I’ve been most proud of. This current hype cycle is, however, the worst I’ve ever seen the hype get. Back in 2015 I had to plead with management, trying to get them to understand that a black-box bunch of linear algebra that was better than humans at a quantitative task was, just, better. Now it seems like the world has completely reversed, and management is so forthright in their belief that AI is good, that they want it rubbed on everything. And those valuations are sometimes contingent on AI eating everything:

image

In my tiniest mouse voice ever I want to ask probably the most relevant question one can ask about a Business Thing: Was it worth the money and are the companies worth the valuation?

Are we done yet?

P.S. Anthropic’s C compiler and Cursor’s FastRender web browser haven’t had any commits for months.

P.P.S. I’m looking for a job.

联系我们 contact @ memedata.com