在《在 Rust 中重写 Bun》中:https://bun.com/blog/bun-in-rust,Jarred Sumner 做出了以下声明:
Claude Code v2.1.181(发布于6月17日)及之后版本使用了 Bun 的 Rust 移植版。在 Linux 上启动速度提高了 10%,但除此之外,几乎没人注意到。无聊也是好事。
我决定检查一下我自己的 Claude Code 安装,以看看是否能找到证据表明它使用了用 Rust 编写的 Bun。
我发现这两个命令令人信服:
对我来说,这输出了 Bun v1.4.0(macOS arm64)。Bun 在 GitHub 上的最新发布版本:https://github.com/oven-sh/bun/releases 目前是 v1.3.14:https://github.com/oven-sh/bun/releases/tag/bun-v1.3.14,日期为5月12日,因此 Claude 中显示的 v1.4.0 版本号支持他们发布了一个尚未发布的 Bun 版本预览。
(更新:Rust 版本已作为 Bun canary 发布:https://bun.com/docs/installation#canary-builds - 运行 bun upgrade --canary 将安装此版本:https://github.com/oven-sh/bun/releases/tag/canary。)
这会输出一个由 563 个文件名组成的列表:https://gist.github.com/simonw/c92fb0f67b114ac26e3b95a09ddccfdc,以以下内容开头:
看起来用 Rust 编写的 Bun 确实在数百万不同设备上投入生产使用。正如 Jarred 所说,“无聊是好事”。
更新:这是 Ajan Raj 的一个巧妙技巧:https://twitter.com/ajanraj25/status/2078825794701242697:
这是 5 月 17 日的提交:https://github.com/oven-sh/bun/commit/b18bf6d1d0a92238f240bfd125f0e3b3461b9243#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519,将 package.json 中的版本更新为 1.4.0。自那以后该版本未再更改,但也尚未进入 canary 之外的标记发布版本。
这是 Simon Willison 于 2026 年 7 月 19 日发布的一条笔记:/2026/Jul/19/。
以每月 10 美元赞助我即可获得经过策划的邮件摘要,内容涵盖本月最重要的 LLM 发展。
In Rewriting Bun in Rust:https://bun.com/blog/bun-in-rust Jarred Sumner made the following claim:
Claude Code v2.1.181 (released June 17th) and later use the Rust port of Bun. Startup got 10% faster on Linux but otherwise, barely anyone noticed. Boring is good.
I decided to have a poke at my own Claude Code installation to see if I could find evidence that it was using Bun written in Rust.
I found these two commands convincing:
For me this outputs Bun v1.4.0 (macOS arm64) . The most recent release of Bun on GitHub:https://github.com/oven-sh/bun/releases is currently v1.3.14:https://github.com/oven-sh/bun/releases/tag/bun-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.
( Update : The Rust version has been released as Bun canary:https://bun.com/docs/installation#canary-builds - running bun upgrade --canary will install this release:https://github.com/oven-sh/bun/releases/tag/canary.)
This outputs a list of 563 filenames:https://gist.github.com/simonw/c92fb0f67b114ac26e3b95a09ddccfdc, starting with these:
It looks like Bun in Rust is indeed being run in production across millions of different devices. Like Jarred said, "Boring is good".
Update : Here's a neat trick from Ajan Raj:https://twitter.com/ajanraj25/status/2078825794701242697:
Here's the commit from May 17th:https://github.com/oven-sh/bun/commit/b18bf6d1d0a92238f240bfd125f0e3b3461b9243#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 that updated the version in package.json to 1.4.0. That version hasn't been changed since then, but also hasn't yet made it into a tagged release outside of canary .
This is a note by Simon Willison, posted on 19th July 2026:/2026/Jul/19/.
Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.