Industry

Daniel Stenberg 谈 AI 用 Rust 重写 curl:三周 300 次 commit 的正面回应

Quoting Daniel Stenberg

Why we picked it

curl 作者 Stenberg 亲自数了数:AI 把 18.5 万行 C 重写成 Rust 的同时,原项目修了 200 个 bug,克隆版一个都没有。拿真实数据回答了“AI 重写开源项目”值不值的问题,做代码迁移的人应该看看。

curl 作者 Daniel Stenberg 回应了多起将 curl 用 Rust 重写的项目。他统计了这些智能体将 185,000 行 C 代码转换为 340,000 行 Rust 代码的过程,但在同期约三周多的时间里,真实的 curl 项目合并了超过 300 次 commit,其中包括约 200 个 bugfix 以及若干漏洞修复。

Body

Stenberg 指出,这些 Rust 重写版本完全没有包含这 200 个 bugfix,而 curl 在未来一个月还会再积累约 200 个修复和更多漏洞修补。他以逐条计数的方式提出核心质疑:这些由 AI 生成的克隆项目能否跟上真实 curl 的演进速度。

这一发言发生在智能体大量进行 vibe-porting(AI 辅助代码移植)的背景下,对开发者评估这类重写项目的实用性提供了来自维护者本人的一手数据。

Original · Simon Willison’s Weblog

Quoting Daniel Stenberg

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? — Daniel Stenberg , Actual curl rewrites in Rust Tags: daniel-stenberg , curl , rust , security , coding-agents , c , ai , llms , generative-ai , vibe-porting

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Industry" desk, focusing on Europe's AI governance and technology ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include curl, Rust, coding-agents, Daniel Stenberg.

Source attribution: curated from Simon Willison’s Weblog.