Tuesday 24 November 2026 Archive edition · go to today's edition NL EN FR
← Tech · Programming languages
Tech · Programming languagesOpen source

Coding agents ported curl to Rust in three weeks, its lead developer points to the 200 fixes they lack

Daniel Stenberg does not believe in rewrites and calculates that Rust would have prevented only a small share of curl's vulnerabilities.

· latest source update wo · 2 sources · Simon Willison, Dealroom · Compiled with AI
Illustration for this article

Using AI coding agents, outsiders have in recent weeks converted the C code of curl, the widely used tool and library for fetching data over the internet, to Rust. Roughly 185,000 lines of C became roughly 340,000 lines of Rust in a little over three weeks, Dealroom reports. One team claims its rewrite cost 8,600 dollars. There is also a from-scratch implementation, urlx.

Daniel Stenberg, curl's lead developer, responded in a blog post on 17 November that Simon Willison quoted on his weblog a day later. In the same period of just over three weeks, the real curl project merged more than 300 commits and fixed a little over 200 bugs, plus several vulnerabilities. Those improvements are missing from the Rust versions, and Stenberg wonders whether the clones can keep up.

According to Dealroom, Stenberg also points out that AI systems have been trained on curl for years and that the project is extensively documented, with thousands of test cases. Of the 81 vulnerabilities confirmed in curl this year, 14 stemmed from mistakes that Rust would probably have prevented. A Rust version would therefore still carry the other 67. Stenberg says he does not believe in rewrites into any language: in his view a project stays alive through its community of users and maintainers, not through the language.

Spotted a mistake in this article? Let us know.