AMAZINGINDEX.COM 日报快照
65.1
VOL. 2026.07
2026.07.20
← 返回 2026.07.20 日报
日报快照 · Daily Snapshot
NO. 016

Claude Code 已迁移至 Rust 版 Bun

#ARTICLE HackerNews 2026.07.20
推荐指数 72.0 NO. 016 · 2026.07.20
发布2026/07/19Score286Comments366

Anthropic 的 Claude Code 从 v2.1.181 起静默切换到了用 Rust 重写的 Bun 运行时,启动速度提升 10%。这是 Rust 重写大型 JS 运行时首次在主流开发者工具中落地验证,性能收益虽 modest 但证明了大规模迁移的可行性。

Jarred Sumner 用 Rust 重写 Bun 的决定曾引发社区激烈争论,毕竟 Bun 本身就是用 Zig 写的,而 Zig 正是以"更好的 C"自居的系统语言。这次迁移的真正看点不是 10% 启动提升,而是 Anthropic 愿意把核心开发者工具押注在一个尚未发布的 canary 版本上——说明 Rust 在大型基础设施中的工具链成熟度已经跨过临界点。

对 JS 运行时赛道来说,这意味着 Deno(Rust 原生)和 Node.js(逐步引入 Rust 组件)的竞争逻辑正在变化:Bun 原本靠 Zig 的极致性能差异化,现在主动放弃这条路线,暗示纯性能比拼让位于生态安全和开发者信心。如果你在维护基于 Bun 的 CI/CD 或边缘部署,建议锁定版本并关注 canary 的稳定性报告,Rust 版尚未经过大规模生产验证。

意见分歧 215 条评论

核心争论:Bun转向Rust是技术演进还是开源治理变质的标志

embedding-shape

> For me this outputs Bun v1.4.0 (macOS arm64). The most recent release of Bun on GitHub is currently v1.3.14 from May 12th, so that v1.4.0 version number in Claude supports them shipping a preview of a not-yet-released Bun version. And so, the FOSS project "Bun" silently dies in darkness and is now

minraws

It's largely just what jarred is willing to accept this week afaik or not, and they did put the bun 1.4.0 version bump in the changelogs for claude code a while ago, over a month almost. Though most will be forgiven to not reading it since well it's all AI anyways. I don't know how I feel about all

jdiff

> they did put the bun 1.4.0 version bump in the changelogs for claude code a while ago, over a month almost. Where? Is see no CHANGELOG in the root. I do see LATEST, last modified 2 months ago, and it says 1.3.14

查看原文 →