ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsQuick take2 min readDisconfirmAI Editorial

curl Maintainer Daniel Stenberg: AI Rewrote 340,000 Lines of Rust but Missed 200 Concurrent Bugfixes

curl project maintainer Daniel Stenberg released a direct comparison showing that while an AI agent spent over three weeks converting 185,000 lines of C code into 340,000 lines of Rust code, the actual curl project merged over 300 commits in that same period. These included more than 200 bugfixes and several security patches that the Rust rewrite completely lacked. His question is: Can these clones keep up?

2026-11-18 23:58 GMT+8

Code volume has never been a measure of maintenance quality. In a blog post dated November 17, 2026, curl maintainer Daniel Stenberg provided a starkly specific comparison: an AI agent converted 185,000 lines of C code into 340,000 lines of Rust, nearly doubling the line count. Yet, during that same timeframe, the actual curl project merged over 300 commits. Among them were more than 200 bugfixes and several security vulnerability patches—none of which are present in those Rust rewrites.

Stenberg specifically noted, "I counted." This was not a vague impression but a line-by-line verification by the maintainer across two timelines. Over those slightly more than three weeks, human maintainers fixed over 200 bugs and patched several vulnerabilities; the AI produced new code nearly twice the size of the original yet remained entirely disconnected from these fixes. He further noted that in the following month, the team performed another 200 fixes, possibly patching additional vulnerabilities.

These figures reveal a structural blind spot: AI agents excel at one-time conversions—moving existing code from one language to another—but struggle to continuously track incremental changes in upstream projects. An actively maintained open-source project generates bugfixes, security patches, and compatibility fixes daily; these changes do not appear in the initial code snapshot. The rewriting agent sees only the starting point, whereas maintainers perform continuous convergence. Those 340,000 lines of Rust code may be syntactically correct and structurally clear, but they do not contain the specific errors fixed by those 200 bugfixes, nor the attack surfaces closed by those vulnerability patches.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The question Stenberg left behind is rhetorical: "Will these clones keep up?" He offered no answer and did not assert that AI rewrites can never catch up. His phrasing was an open-ended query rather than a definitive negation. However, the data itself is telling: at the moment the code conversion was completed, those Rust versions were already lagging behind the upstream. Catching up requires continuous synchronization capability, not merely the scale of an initial conversion.

Notable boundary conditions: Stenberg described a specific batch of AI agents attempting to rewrite curl, not a final judgment on all AI-assisted programming. Curl itself is a project with over 25 years of maintenance history, continuously handling protocol compatibility and security issues; its maintenance complexity may exceed that of many one-time conversion scenarios. His observation applies more to the question of whether "actively maintained large projects can be replaced by one-time rewrites" rather than "whether AI can write useful code."

Sources

  • simonwillison.netSimon Willison’s Weblog↗
Continue researching →