# Jarred Sumner 谈如何交付数百万行 Agent 编写的代码，以及 Bun 的提前编译改造

- 原标题：How to Ship Millions of Lines of Agent-Written Code — Jarred Sumner, Anthropic
- 类型：讲座与播客
- 来源：YouTube
- 发布时间：2026-11-25
- 首次精选：2026-11-25 12:23
- 分级：值得看
- 是否付费：免费（公开视频）
- 预估学习时长：约 23 分钟（视频时长）
- 学习层级：进阶
- 主题：[agent-architecture-harness](<https://oplearnx.com/md/topics/agent-architecture-harness.md>)（第 21 位）、[coding-agents-engineering](<https://oplearnx.com/md/topics/coding-agents-engineering.md>)（第 37 位）
- 原文链接：[https://youtube.com/watch?v=TvsF67C2F54](<https://youtube.com/watch?v=TvsF67C2F54>)
- 本站页面：[https://oplearnx.com/resources/pk\_06c7b12b3505](<https://oplearnx.com/resources/pk_06c7b12b3505>)

## 摘要

这是 Anthropic 的 Jarred Sumner（Bun 作者）的一期分享，讲他为 Bun 合并了一个数百万行的 PR，加入提前编译器，一个月内经历五次重写，内存占用降低约四倍、启动速度提升约两倍。他解释了为何选择让 JavaScript 更快而不是用 Rust 重写 Claude Code，为什么项目早期就存在的测试让 Agent 写的代码可信，以及 140 个 Agent 同时写代码时他本人每天在做什么，还包括分批编写再修复、长期存活的子 Agent 和每小时评分卡与模糊测试等做法。

## 原文涉及

- [Bun — A fast all-in-one JavaScript runtime](<https://bun.sh/>)

---
来源：LearnMap · 学径（https://oplearnx.com）
