curl author questions whether AI rewrites can keep up with the real project
curl author Daniel Stenberg responded in a blog post, "Actual curl rewrites in Rust", to the practice of using AI agents to rewrite curl's C code wholesale into Rust. He gives these numbers: during the three-plus weeks in which these agents converted 185,000 lines of C into 340,000 lines of Rust, the real curl project merged more than 300 commits, fixed more than 200 bugs and also fixed several security vulnerabilities. He stresses that none of these fixes are in any of the Rust clones, and notes that in another month the project will have roughly 200 more fixes. His question is whether these clones can keep up. This is not an evaluation of AI coding ability but a maintainer's reminder of the gap between "code generated once" and "a live project under continuous maintenance"; the original gives no quality data on the clones.
curl is a command-line and library tool called by a great deal of software to download and transfer data, and its codebase is written in C. According to Daniel Stenberg's blog post of 17 November, two projects rewriting curl in Rust appeared this autumn: the earlier urlx describes itself as a from-scratch memory-safe implementation, and in November another Rust rewrite appeared that is simply called curl. Stenberg has also said publicly that of the 81 curl vulnerabilities confirmed for 2026, 14 could very likely have been avoided with a memory-safe language such as Rust.
For teams planning to use agents to rewrite existing projects, this reminder means delivery is not the end point: the upstream project fixes bugs and vulnerabilities every week, and a rewrite must set up a mechanism to keep syncing upstream changes, or security fixes will be missed. When evaluating such ports, "can it keep up with upstream commits" should be listed as an acceptance item, not just whether it compiles and whether the tests pass.