Coding with AI

Daniel Stenberg is being quoted.

Stenberg notes agents converted 185,000 C lines into 340,000 Rust lines, but curl kept improving with 300 commits and hundreds of bugfixes.

Daniel Stenberg is being quoted.

Key Takeaways

  • Daniel Stenberg used the curl Rust rewrite as a benchmark: agents converted 185,000 C lines into 340,000 Rust lines while curl merged over 300 real commits.
  • During about three weeks of rewrite work, the actual curl project landed over 200 bugfixes and some vulnerability fixes, which were missing from the generated Rust code.
  • In another month, curl reportedly added another 200 bugfixes, showing that the gap between rewrite output and the live project is a moving target.
  • The article argues that large-scale code generation is not enough: maintained projects keep changing, so coding-agent clones must keep pace with real upstream development.

For developers tracking coding agents and open-source maintenance, Daniel Stenberg's update gives a clear benchmark for the curl Rust rewrite question: during the time agents converted 185,000 lines of C code into 340,000 lines of Rust code, the actual curl project merged over 300 commits.

Daniel Stenberg is being quoted.

Human fixes kept pace

Stenberg counted the conversion and compared it with ongoing work in curl. In a little more than three weeks, he says the project improved curl with a little over 200 bugfixes. Those 200 bugfixes, he notes, are absent from the Rust rewrites. The same period also included fixes for a few vulnerabilities.

Another month, another 200

The comparison does not stop at the three-week window. In another month, Stenberg says the project has done another 200 bugfixes and may have fixed a few more vulnerabilities. The gap between the generated Rust code and the live upstream project therefore remains a moving target.

What the comparison means

The post frames a practical question for anyone evaluating coding agents on large codebases: a rewrite can create a large amount of Rust code, but a maintained project continues to change. Stenberg leaves readers with the direct test: whether these clones can keep up with the real curl project.

Meta description:
Daniel Stenberg compares Rust rewrite effort with curl maintenance: 185,000 C lines became 340,000 Rust lines while 300 commits and 200 bugfixes landed.

Tags:
daniel-stenberg, curl, rust, security, coding-agents

Featured image:
Abstract friendly illustration of two flowing code streams merging into a maintained branch, with no real people, no logos, and no text.

Comments (0)

  1. No comments yet. Be the first to share what worked for you.

Leave a comment

Comments are reviewed before they appear. Your email address is not published.