Claude Code quietly ships Bun's Rust rewrite to millions of devices
Bun creator Jarred Sumner revealed that Claude Code has been running the Rust port of Bun since version 2.1.181, shipped June 17th. The switch delivered a roughly 10% faster startup on Linux and was otherwise unremarkable to end users — which was precisely the point. A JavaScript-runtime rewrite of this scale reaching production without incident is a quiet success story.
Simon Willison verified the claim on his own machine using simple forensics. Running strings against the Claude binary surfaced an embedded ‘Bun v1.4.0’ string, even though Bun’s latest public GitHub release at the time was v1.3.14. Grepping the binary for Rust source paths returned 563 .rs filenames — files like src/bundler/bundle_v2.rs — confirming the Rust implementation is what’s actually executing. A reader-contributed trick using BUN_OPTIONS to preload a script and print Bun.version corroborated the 1.4.0 number.
The unreleased version tag reflects that Claude was bundling a preview of Bun ahead of its public launch; the Rust build has since surfaced as Bun’s canary channel, installable via bun upgrade --canary. The broader takeaway is that a from-scratch reimplementation now runs invisibly across millions of Claude Code installations — a reminder that the most successful infrastructure migrations are the ones nobody notices.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.