编程智能体据报将curl的18.5万行C代码改写为Rust
Daniel Stenberg称,编程智能体在三周多内将18.5万行C代码转换为34万行Rust代码。据他表示,在此期间,curl项目合并了300多个提交,完成了200多个错误修复,并修复了若干安全漏洞。在随后一个月,他又报告了200个错误修复,并称项目可能还修复了更多漏洞。这些数据由Stenberg自行报告,并出现在Simon Willison刊登的引文中。
根据Stenberg的叙述,大规模智能体辅助的跨语言重写与curl项目的持续提交、错误修复和漏洞修复同时进行,为AI编程工具与在行项目维护并行提供了一个具体案例。
A quote from Daniel Stenberg
Simon Willison’s Weblog
Sponsored by: Dynatrace — Your coding agent can read your code but can’t see how it runs in production. Read the blog to see how Dynatrace MCP closes that gap.
18th November 2026
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?