
TL;DR
Tom Lockwood investigated the Bun Rust rewrite six weeks after it merged to main - 2,475 open PRs, no release tag, and costs that may far exceed the claimed $165K. We break down the evidence, Jarred Sumner's response, and what the HN community thinks.
On July 8, Jarred Sumner published Rewriting Bun in Rust -- the story of porting 535,496 lines of Zig to Rust in 11 days using Claude, at a cost of $165,000 in API calls. The post went viral on Hacker News (641 points, 377 comments). Developers debated whether this was the future of code migration or a case study in survivorship bias.
Six weeks later, Tom Lockwood wanted to know: how is that rewrite actually going?
Lockwood's investigation (July 27, 2026) digs through commit data, PR counts, and release history. His findings challenge the clean narrative:
No release in six weeks. The last Bun release tag is bun-v1.3.14 from May 12, 2026. The only comparable gap was between October and December 2022, between v0.2.2 and v0.3.0. For a project that historically shipped monthly, this silence stands out.
2,475 open PRs from robobun. The Claude Code bot that drove the rewrite has 2,475 open pull requests as of July 27. At roughly 40 minutes per Buildkite pipeline run (sometimes up to 90 minutes), merging all of them would take an estimated 86 days of continuous CI time. Lockwood notes that some PRs show signs of extensive human review, suggesting the AI output requires non-trivial human oversight.
Hidden costs. The headline $165K covers only Anthropic API tokens. Lockwood estimates that when you factor in Buildkite CI/CD costs and continued Claude usage at roughly $10K/day, the real expense is approaching $800K. Anthropic employees are also directly contributing Rust commits, which is relevant context that the original announcement did not foreground.
Two graphs worth studying. Lockwood's commit analysis shows a sharp spike in Claude-authored Rust files during the rewrite period (May 3-14), followed by a sustained plateau of Anthropic employee and robobun activity. The machine is still running.
The Hacker News discussion on Lockwood's post (422 points, 316 comments) is notably more measured than the original Bun rewrite thread.
simonw raised the strongest counterpoint: Lockwood's article omits the fact that "Bun-on-Rust has been live in Claude Code itself since June 17th." A Rust-powered Bun is already shipping to millions of users through Claude Code. Whether or not there is a public release tag, the software is running in production. Simon also noted the "unsafe" count in the Rust codebase has stayed constant rather than declining -- worth watching but not a crisis.
Jarred Sumner himself responded directly. He confirmed the Rust rewrite "is going well overall" and explained the release delay: "In the Bun v1.4 video, I promised a certain number of newly passing Node.js tests were added to force us to improve compatibility, and that number is not true yet. The release is delayed until it is true." He expects the release "most likely next Tuesday."
abalashov captured the ambivalence many feel: "I did suspect that the triumphalist pronouncements, and even the seemingly honest and forthright deep dive, were a little premature." The concern is that LLM-assisted rewrites look done much earlier than they actually are, because the first pass handles the easy 80% and the remaining 20% (edge cases, correctness, CI stability) takes longer than expected.
reliabilityguy pushed back on the cost comparison: "$165K is cheaper than a team of multiple engineers working on the rewrite for a year" is a flawed argument, they argue, because "the team of engineers would have produced idiomatic Rust, and it would take probably 100K+ of tokens more to make the bun in Rust idiomatic Rust." In other words, the cost savings may come with a quality tax.
losvedir offered the most pragmatic take: "I'm not sure Anthropic even cares about releasing the next version. The Rust one has been in use in Claude Code for more than a month now, used by millions of people." The open-source project's release cadence may simply not be Anthropic's priority.
Newsletter
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools, delivered free every week.
From the archive
Jul 27, 2026 • 8 min read
Jul 27, 2026 • 8 min read
Jul 27, 2026 • 8 min read
Jul 27, 2026 • 9 min read
The Bun Rust rewrite is real. It is running in production in Claude Code. Jarred expects a public release soon. The technical achievement of porting 535K lines in 11 days is not in dispute.
What Lockwood's investigation reveals, and what the HN discussion sharpens, is that "done" means different things depending on who you ask:
For developers evaluating whether AI-assisted rewrites make sense for their own projects, this case study offers a more honest template: the initial AI pass is fast and cheap, but the tail of correctness verification, human review, and CI churn is long and not free. Our earlier deep dive on the agent orchestration behind this rewrite covered the workflow architecture in detail. The economics of AI rewrites is the broader context for thinking about whether this pattern generalizes.
Two things to track:
The rewrite that was a proof-of-concept is now a production system with a messy, visible, human-scale cleanup phase. That is not a failure. It is what real engineering looks like.
| Source | Description |
|---|---|
| How Is the Bun Rewrite in Rust Going? | Tom Lockwood's investigation (July 27, 2026) |
| Hacker News Discussion | Community thread (422 points, 316 comments) |
| Rewriting Bun in Rust | Original Bun blog post (July 8, 2026) |
| Bun GitHub | Source repository with open PRs |
Read next
The Bun runtime completed an AI-assisted rewrite from Zig to Rust, fixing memory safety issues and improving performance. Here is what HN thinks and why it matters for LLM-assisted code migration.
6 min readA deep dive into the agent orchestration behind the Bun Rust rewrite - the workflow architecture, adversarial review gates, what one human actually did, and the Zig vs Rust debate including Andrew Kelley's response.
11 min readA viral post argues AI works better on standardized codebases, making rewrites economically sensible. HN pushes back with the Mythical Man-Month and maintainability concerns.
5 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
High-performance code editor built in Rust with native AI integration. Sub-millisecond input latency. Built-in assistant...
View ToolOpenAI's open-source terminal coding agent built in Rust. Runs locally, reads your repo, edits files, and executes comma...
View ToolUtility-first CSS framework. Compose styles with class names, scan templates with the JIT engine, and ship tiny CSS bund...
View ToolOpen-source AI agent built in Rust, now governed by the Agentic AI Foundation at the Linux Foundation. Desktop app, CLI,...
View Tool/simplify, /batch, /debug, /fast, and other built-in skills.
Claude CodeFires after a successful tool call. Good for feedback and follow-ups.
Claude CodeFire before and after context compaction.
Claude Code
The Bun runtime completed an AI-assisted rewrite from Zig to Rust, fixing memory safety issues and improving performance...

A deep dive into the agent orchestration behind the Bun Rust rewrite - the workflow architecture, adversarial review gat...

A viral post argues AI works better on standardized codebases, making rewrites economically sensible. HN pushes back wit...

A Rust reimplementation of PostgreSQL now passes all 46,000+ queries in the Postgres regression suite. Here is what the...

A new study from nrehiew quantifies a problem every Claude Code, Cursor, and Codex user has felt: models making huge dif...

A Hacker News discussion blows up over LLM vocabulary quirks, with developers sharing hooks, filters, and coping mechani...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.