Claude Code uses Bun written in Rust now

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Claude Code now ships with a Rust rewrite of Bun embedded, but the practical payoff is only a 10% Linux startup speedup, an important production validation of Rust Bun, not a workflow change.

Read this as

Bun is a software tool that runs programs written in the JavaScript language, and it was originally written in a language called Zig/JavaScript but has now been rewritten in Rust, a faster and safer language. The maker of Bun says the coding assistant Claude Code switched to this Rust version in June, making it start 10% faster on Linux. Simon Willison inspected his own Claude Code install and found evidence backing the claim. It matters mainly because it proves the Rust rewrite works for millions of users.

Bun creator Jarred Sumner says Claude Code v2.1.181 (released June 17th) and later run the Rust port of Bun, with 10% faster startup on Linux and no other noticeable changes. Simon Willison independently verified the claim by inspecting the Claude Code binary. The significance for decision-makers is competitive rather than immediate: a Rust rewrite of a widely used JavaScript runtime is now proven at production scale on millions of devices.

Willison verified the Rust Bun claim by running strings on the Claude Code binary: it reports Bun v1.4.0 (macOS arm64), an unreleased version, v1.3.14 was the latest tagged release, and exposes 563 Rust source paths such as src/bundler/bundle_v2.rs. The v1.4.0 version was set in package.json on May 17th and is available via bun upgrade --canary. Startup improved 10% on Linux; no other benchmarks are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Claude Code Bun Rust Jarred Sumner Simon Willison Linux

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading