Magic Tools
Developer ToolsBy CooconAugust 20, 202617 views3 min read

Bun's Rust Rewrite: 15,800 AI Commits for What, Exactly?

Bun's Rust Rewrite: 15,800 AI Commits for What, Exactly?

Something about Bun's Rust rewrite is going sideways, and it isn't the performance complaints. Those might not even hold up — nobody has published hard benchmarks. The real story is who wrote the code.

790 human commits vs. 15,800 robot commits

tipiirai, a long-time Bun user, pulled the GitHub numbers for the past month:

  • 15,800 commits from robobun (the AI agent)
  • 1,600 from autofix-ci (the AI fix bot)
  • 790 from Jarred (the actual human)

Human-written code is under 4% of the repo's recent output.

Jarred's own tweet, quoted in the post, lands harder: "6 months ago, most of Bun's PRs came from people prompting Claude. Nowadays, most of Bun's PRs come from Claude prompting Claude."

Read that again. First a human told the AI what to build. Now the AI tells itself.

5,000 open PRs is the new kind of tech debt

Bun currently has over 5,000 open pull requests. React has 441. OpenClaw has 2,200. GitHub recommends staying under 1,000 per branch before mergeability checks start timing out.

That number says one thing: code is being produced faster than anyone can review, understand, or merge it. The bottleneck moved. Writing code got cheap. Reading code got expensive.

This is a new shape of technical debt. Not "the code is bad" — "the code is coming in faster than you can look at it."

The memory-safety justification didn't survive contact

The rewrite was pitched as a memory-safety move: Zig's manual memory management is risky, so switch to Rust and let the compiler catch it. But tipiirai points at the volume of unsafe blocks in the Rust code and says the safety promise didn't land.

Zig's creator, Andrew Kelley, was blunter. Writing about the rewrite, he said the codebase left him "increasingly horrified": "Hacks on top of hacks. Abuse of assertions. Jarred was already writing slop well before he had access to LLMs."

My take: if it was slop before the rewrite, using AI to produce more slop, faster, scales the problem instead of fixing it.

This is the biggest public test of AI writing production code

tipiirai's sharpest line: this rewrite is the most closely watched real-world test of whether AI agents can take over a production codebase with a human mostly directing rather than reading.

Anthropic's reputation is riding on it too. If it works, it's the best ad for agentic coding ever made. If it fails, it's a signal in the other direction.

So this matters well beyond "should I upgrade Bun." It's answering a question the whole industry is asking: does AI commit volume equal code quality?

Bun's answer so far is no — and the cost is visible. Three months without a stable release, the longest gap since 2022. A community where "did tomorrow arrive yet" is a running joke.

What you can do today

Don't abandon Bun, and don't write off AI-written code. But if your team is letting AI rewrite or generate at scale, ask three questions first:

  1. Why are you rewriting? If it's performance, measure the baseline before you touch anything — don't wave "memory safety" around as a cover story.
  2. Who's reviewing? An AI can push hundreds of commits a day. How many can your humans actually read? That gap is your tech debt.
  3. Are you comfortable with AI on safety-critical paths? Unsafe blocks, injection points, permission boundaries — the AI writes those happily, and it won't be the one on call when they blow up.

One line to remember: AI made writing code cheap and reading code expensive. Don't let the first number hide the second.

✨ Draft generated by DeepSeek, reviewed and polished by Claude.

Sources:

Related Articles

Mojo Went Open Source. Its Creator Now Works for Qualcomm.

Mojo 1.0 is fully open source, compiler and all. But two months before that, the man who wrote it — plus 150 colleagues — was bought by Qualcomm for nearly $4 billion.

cudamojo+5
ai-tutorialsAug 20, 202615 min
17

What Moderna's Phase 3 mRNA Cancer Win Actually Proves

On August 19, 2026, Merck and Moderna reported that intismeran autogene plus KEYTRUDA hit its primary endpoint in the Phase 3 INTerpath-001 trial — the first positive Phase 3 for an mRNA cancer therapy. What it proved and what it didn't are two separate questions.

mrnamoderna+3
ai-tutorialsAug 20, 202610 min
21

Dev Breakfast · 2026-08-20

Today's headline: Bun 1.4's Rust Rewrite Leads to Performance Regression?. Plus 6 more: Go 1.27 Lands: Generic Type Aliases Go Stable, Compiler Speed Up by 5%; Mojo Language Officially Open-Sourced, Modular Acquired by Qualcomm; and more.

daily-intelAug 20, 20266 min
21

Your AI Video's Subtitles Drift More the Longer It Runs: Stop Fixing the Aligner — the Bug Is 'Generate the Whole Audio First'

Building explainer videos with TTS + auto subtitles: the first 30 seconds were perfectly synced, then the subtitles drifted further and further behind, and the tail of the .srt degraded to 00:00:00 timestamps. The first instinct — patch the alignment (normalize numbers, loosen similarity thresholds) — treats symptoms. This postmortem shows the real cause: any 'whole-clip TTS + whisper transcription + post-hoc matching' pipeline drifts by construction, because it hands timing — which the generation step could produce directly — to a lossy reconstruction chain. The fix: sentence-level TTS with sample-accurate concatenation, where each subtitle's timestamp is the running sum of real wav sample counts. Sentence boundaries reset the error, so drift is physically impossible. Includes splitting rules, caching design, and the limits of the approach.

ttsbug-postmortem+3
pitfallsAug 20, 20264 min
31

Published by Magic Tools