EPISODE · Aug 2, 2026 · 7 MIN
AI 兩週搬完百萬行 code,Anthropic 的秘訣是不修 code
from 脈報 · host 思思主播
Anthropic 官方公開用 Claude Code 兩週遷移百萬行 code 的方法論:不修 code,修產出 code 的迴圈。先建裁判再開工,成本約 16.5 萬美元,批次 AI 工作都能借用。 ⭐ 文章深度讀:Bun 案例實際燒掉的 token 用量帳,和 Zig 作者對這次改寫的批評,影片沒展開,文章裡有完整數字與連結 → https://heymaibao.com/anthropic-million-line-code-migration/ ⚡ 章節重點 開場 00:00 第一個實例 Bun 兩週搬完百萬行 00:58 第二個實例 一個週末 16 萬行 02:15 你該修的是迴圈 03:26 先建裁判再開工 04:33 方法論的三個重點 05:22 錢的部分 06:19 我的判斷 06:51 帶得走的心法 07:18 📝 懶人包 ∙ Anthropic 官方公開內部用 Claude Code 做大規模程式碼遷移的方法論:熱門 JavaScript 工具 Bun 從 Zig 換到 Rust (兩種程式語言),兩週產出百萬行 code,合併前 100% 通過既有測試,2026 年 6 月已正式出貨 ∙ 遷移經濟學翻轉:過去百萬行等級的遷移要 4 年、300 到 400 萬美元的工程資源,Bun 這次的 API 用量定價約 16.5 萬美元 ∙ 核心方法是人不修個別錯誤:審查 AI 重複抓到同一類問題,就往規則手冊 (rulebook) 加一條規則,然後整批重新生成,人的注意力只放在 pattern 上 ∙ 我的觀察:這套「修迴圈不修產出」的心法完全可以搬出工程圈,批次翻譯、大量改寫、資料整理都適用,但成立條件是你得先有一個抓得到錯的機械裁判,這一步多數人都跳過了 📚 參考資料 How Anthropic runs large-scale code migrations with Claude Code (X) → https://x.com/ClaudeDevs/status/2079654423828304282 How Anthropic runs large-scale code migrations with Claude Code (官方 blog) → https://claude.com/blog/ai-code-migration Rewriting Bun in Rust → https://bun.com/blog/bun-in-rust anthropics/code-migration-kit-with-claude-code → https://github.com/anthropics/code-migration-kit-with-claude-code Zig creator calls Bun's Claude Rust rewrite "unreviewed slop" → https://www.devclass.com/ai-ml/2026/07/15/zig-creator-calls-buns-claude-rust-rewrite-unreviewed-slop/5271749
Embed this episode
NOW PLAYING
AI 兩週搬完百萬行 code,Anthropic 的秘訣是不修 code
No transcript for this episode yet
Similar Episodes
No similar episodes found.