Daniel Stenberg, creator of curl, wrote on 17 November about two new projects that rewrite curl in Rust, one of them using AI agents at an estimated cost of 8,600 dollars. He counted that the agents converted about 185,000 lines of C into 340,000 lines of Rust in a little over three weeks. Over the same period the real curl project merged more than 300 changes, including over 200 bug fixes and several vulnerability fixes. He also notes that of the 81 vulnerabilities confirmed in 2026, only 14 would most likely have been avoided with a memory-safe language.

What it means: This debate concerns every business thinking about modernising old software with the help of AI agents. Translating code into a new language has become cheap and fast, especially when there is documentation and thousands of tests, as with curl. The hard part, though, is not the first version but maintenance: fixes, compatibility for those already using the library, and a team that knows why each decision was made. A copy that falls behind on security updates can quickly become riskier than the original. Anyone considering replacing open-source libraries with such new versions should include in their selection criteria who maintains them, how quickly fixes land and whether there is a process for reporting vulnerabilities. The same applies to internal projects: if a system is rewritten with agents, there needs to be a plan for who will maintain it, otherwise the speed gained is lost in the following years. The vulnerability figures also show that changing language on its own solves only part of the security problem, while design reviews and testing still carry most of the weight.

Read the original on daniel.haxx.se

Related service: Custom software

Related stories