HeadlinesBriefing favicon HeadlinesBriefing.com

Claude Code uses Rust Port of Bun

Hacker News •
×

In a recent post on Hacker News, developer Jarred Sumner announced that Claude Code v2.1.181, released June 17, now relies on the Rust port of Bun. He noted a 10% speed boost on Linux, though the change was largely invisible to most users. The announcement was brief, but it sparked curiosity about the underlying mechanics.

I decided to run a few checks on my own installation. The command `strings ~/.local/bin/claude | grep -m1 'Bun v1'` returned Bun v1.4.0 for my mac OS arm64 build. Since the latest official Bun release on GitHub is v1.3.14 (May 12), this suggests that Claude Code ships a preview of a not‑yet‑released Bun version.

A second test, `strings ~/.local/bin/claude | grep -Eo 'src/[[:alnum:]_./-]+\.rs'`, yielded a list of 563 source‑file paths, including `src/runtime/bake/dev_server/mod.rs` and `src/bundler/bundle_v2.rs`. This confirms that the Rust‑based Bun runtime is being executed in production across millions of devices.

As Jarred summed up, “Boring is good.” The upgrade is subtle, but it demonstrates how a low‑level rewrite can provide measurable gains without disrupting the user experience.