AI 编程 4.0 · 优秀 2026-09-02 · 文章

A quote from Rick Brewster (Claude vibe-coded a Direct2D clean-room rewrite for Paint.NET on WIN...

Simon Willison 9 月 2 日转引 Paint.NET 作者 Rick Brewster 的自述:Direct2D 一直是 Paint.NET 跑在 WINE 上最大的拦路虎,而 WINE 永远不会完成得够用Brewster 让 Claude 用一份内部 DLLPaintDotNet.Windows.Direct2D1.Managed.dllclean-room 逆向重写了一套 Direct2D,由 /wine 触发...

打开原文回到归档

A quote from Rick Brewster (Claude vibe-coded a Direct2D clean-room rewrite for Paint.NET on WINE)

  • ID: cd5da196
  • 原文链接: https://simonwillison.net/2026/Sep/2/rick-brewster
  • 作者: Simon Willison (quoting Rick Brewster)
  • 日期: 2026-09-02
  • 抓取时间: 2026-09-02T15:31:00Z
  • 分类: coding
  • 来源类型: article
  • 语言: zh
  • 标签: vibe-coding, windows, wine, direct2d, agent-limits
  • 质量评分: 4/5

中文导读

Simon Willison 9 月 2 日转引 Paint.NET 作者 Rick Brewster 的自述:Direct2D 一直是 Paint.NET 跑在 WINE 上最大的拦路虎,而 WINE 永远不会完成得够用Brewster 让 Claude 用一份内部 DLLPaintDotNet.Windows.Direct2D1.Managed.dllclean-room 逆向重写了一套 Direct2D,由 /wine 触发;代价是 18 万行 "vibe-coded" 代码,他本人明确表示不可能逐行 review(Paint.NET 其他 70 万行他盯了 20 年)他同时给出 agent 在真实 C++/Windows 图形栈里的失败模式:COM 的 AddRef 引用计数必须人盯架构决策要"拍两巴掌"才能拉回来,倒是 Direct2D 内置效果库里的数学公式 Claude 自己逆完了这是 vibe coding 在大型系统级工程里最具体的一份作者自述,"代码量大到我读不完"+"失败集中在资源管理与架构"是 agent 工程里长期没解决的边界条件

一句话点评

Simon Willison 9 月 2 日转引 Paint.

English Abstract / Summary

Simon Willison relays Paint.NET author Rick Brewster's account of using Claude to clean-room reimplement Direct2D so the editor can run on WINE; the result is 180,000 lines of "vibe-coded" C# that Brewster says he cannot review line-by-line (Paint.NET's other 700K lines he has shepherded for 20 years). Brewster documents Claude's failure modes on real Windows/C++ system code: COM AddRef reference counts need human oversight, architectural decisions need to be "slapped down," but the math inside Direct2D's built-in effect library Claude reverse-engineered on its own. The piece is the most concrete author-side account of vibe coding in a large system-level codebase.

Obsidian Notes

  • 由 daily-intake-evening 2026-09-02 cron 从当日 Obsidian 摘要(论文流水线 / AK-RSS / ClawFeed / X 书签消化)发现并入库存量阶段。
  • 中文导读与判断均锚定在条目已有摘要、源页面正文、作者、日期与分类信息;未补充源页面之外的实验细节。