Here’s @bagder on LLM-powered rewrites.
During the time these agents converted 185,000 lines of C code into 340,000 lines of Rust code (I counted), we merged over 300 commits in the actual curl project. We actually improved curl during these a little more than three weeks. A little over 200 bugfixes actually. 200 bugfixes that none of those rust rewrites have. We also fixed a few vulnerabilities. In another month we have done another 200 and maybe fixed a few more vulnerabilities. Will these clones keep up?
As always, badger makes the point with data. Curl is valuable because of the maintenance effort that goes into it every day.
https://daniel.haxx.se/blog/2026/11/17/actual-curl-rewrites-in-rust/
@samir @bagder Around 2015 a major C++ project began a manual terror in Rust and the LoC of the result east vastly reduced (from memory to a fraction like 20%). One of the best things you can do to improve a codebase is shrink it. Increasing it as reported here makes it less reliable and harder to maintain, and that's really bad.