行业

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

Quoting Daniel Stenberg

精选理由

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 以及若干漏洞修复。

正文

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

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

原文 · 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

产业坐标与信源核验

本条情报归属 AITOP「行业」核心栏目,重点聚焦欧洲人工智能治理与技术生态。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:curl、Rust、coding-agents、Daniel Stenberg,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「Simon Willison’s Weblog」,经 AITOP 多维评分管线结构化提炼。