阅读研究雷达投资体系
登录 / 注册
← 返回阅读
专题DisconfirmAI 编辑部更新于 2026-11-21 15:44

curl

4 节点1 篇7 来源

本主题聚焦于AI生成的Rust版curl重写项目与持续维护的C语言原版之间的维护差距。2025年末,名为urlx的项目作为内存安全的重新实现出现。2026年11月,第二个名为“curl, rewritten in Rust”的项目涌现,声称使用AI代理在约三周内花费8,600美元计算成本,将18.5万行C代码转换为34万行Rust代码。curl官方维护者Daniel Stenberg指出,在这相同的三周期间,实际curl仓库合并了超过300个提交,其中包括200多个bugfix和若干安全补丁,而这些修复在Rust克隆版本中完全缺失。Stenberg强调,虽然AI可以复现文档完善的静态代码快照,但无法复制数十年来通过社区反馈和持续迭代建立的稳定性保证。他提供数据显示,2026年已确认的81个curl漏洞中,仅17.3%(14个)可能由内存安全问题引起,这意味着Rust重写版本仍会包含其余67个漏洞。核心争议在于这些重写项目是可行的长期替代品还是仅为概念验证。读者应关注Rust项目维护者是否建立同步上游提交的机制,以及他们如何处理非内存安全类的剩余漏洞。

事情怎么走到这一步

  1. 2025-12-01

    A project named urlx appears, claiming to be a memory-safe, from-scratch reimplementation of curl and libcurl. (Approximate date based on 'late 2025' description in source).

    thenextgentechinsider.com ↗
  2. 2026-11-01

    A second project, "curl, rewritten in Rust," emerges, reporting $8,600 in AI compute costs for converting 185,000 lines of C to 340,000 lines of Rust in three weeks. (Approximate date based on 'November 2026' description).

    thenextgentechinsider.com ↗
  3. 2026-11-17

    Daniel Stenberg publishes a blog post comparing the rewrites to upstream activity, noting 300+ commits and 200+ bugfixes missed by the clones during the conversion period.

    daniel.haxx.se ↗
  4. 2026-11-18

    Simon Willison quotes Stenberg's findings on his weblog, amplifying the discussion on AI coding limitations.

登录 / 注册
阅读研究雷达投资体系
simonwillison.net ↗

还没定论的部分

  • Will the maintainers of the Rust rewrites establish automated pipelines to track and merge upstream curl bugfixes?
  • Do the Rust implementations address the 67 non-memory-safety vulnerabilities identified by Stenberg?
  • Are these projects intended as production-ready alternatives or strictly as proofs of concept for AI code translation?

来源

  • daniel.haxx.seDaniel Stenberg's Blog↗
  • simonwillison.netSimon Willison’s Weblog↗
  • pivotnews.aiPivot News↗
  • thenextgentechinsider.comNext Gen Tech Insider↗
  • darkfactory.devDark Factory↗
  • github.comGitHub Repository (kov/curl)↗
  • alcybr.comAlCybr↗

这一专题下的内容

  • curl 维护者 Daniel Stenberg:AI 重写 34 万行 Rust,却漏掉同期 200 个 bugfix2026-11-19资讯

    curl 项目维护者 Daniel Stenberg 公布了一组直接对比数据:在 AI 代理将 18.5 万行 C 代码转换为 34 万行 Rust 代码的三周多时间里,实际 curl 项目合并了超过 300 个提交,其中 200 多个 bugfix 和若干安全漏洞修复是那些 Rust 重写版本完全不具备的。他的问题是:这些克隆能否跟上?