{
  "schema_version": "1.0",
  "id": "archive:https://www.anthropic.com/engineering/building-c-compiler",
  "slug": "building-c-compiler-129wact",
  "url": "https://feed7.dev/p/building-c-compiler-129wact",
  "title": "Building a C compiler with a team of parallel Claudes",
  "why_included": "Sixteen parallel Opus 4.6 agents wrote a 100k-line Rust C compiler in two weeks (~$20k) that builds Linux 6.9 — the writeup credits test quality and context hygiene, not raw model capability.",
  "summary": "**The gist** Anthropic pointed **16 parallel Opus 4.6 agents** at writing a C compiler in Rust: **100,000 lines** that compile **Linux kernel 6.9** on x86, ARM, and RISC-V, plus QEMU, SQLite, and PostgreSQL, passing 99% of GCC's torture suite. Roughly 2,000 sessions over two weeks cost about **$20,000**.",
  "practical_implication": "**Why it matters** The transferable part is environment design: agents coordinated through a shared **bare git repo** with **lock files** to claim tasks, logs went to files instead of context, and each agent ran a random **1–10% test sample** to avoid context pollution. Near-flawless tests mattered more than the model — Claude solves whatever the harness rewards.",
  "agent_context": "**The gist** Anthropic pointed **16 parallel Opus 4.6 agents** at writing a C compiler in Rust: **100,000 lines** that compile **Linux kernel 6.9** on x86, ARM, and RISC-V, plus QEMU, SQLite, and PostgreSQL, passing 99% of GCC's torture suite. Roughly 2,000 sessions over two weeks cost about **$20,000**.\n\n**Why it matters** The transferable part is environment design: agents coordinated through a shared **bare git repo** with **lock files** to claim tasks, logs went to files instead of context, and each agent ran a random **1–10% test sample** to avoid context pollution. Near-flawless tests mattered more than the model — Claude solves whatever the harness rewards.\n\n**Watch out** Generated code runs slower than **GCC with optimizations off**, the assembler and linker remain buggy, and late improvements kept introducing regressions — a sign Opus 4.6 is near its practical limit here. The author is candid about the risk of shipping code **no human personally verified**.",
  "source": {
    "name": "Anthropic",
    "url": "https://www.anthropic.com/engineering/building-c-compiler",
    "published_at": null
  },
  "source_class": "blog_post",
  "content_type": "Engineering Post",
  "layer": "agent",
  "domains": [
    "coding"
  ],
  "topics": [
    "multi-agent",
    "harness-engineering",
    "coding-agents"
  ],
  "verification": {
    "status": "official_source",
    "label": "Official Source",
    "method": "source_feed",
    "verified_at": null
  },
  "uncertainty": [
    "Generated code runs slower than **GCC with optimizations off**, the assembler and linker remain buggy, and late improvements kept introducing regressions — a sign Opus 4.6 is near its practical limit here. The author is candid about the risk of shipping code **no human personally verified**."
  ],
  "lifecycle": "Current",
  "published_at": null,
  "modified_at": null,
  "supersedes": [],
  "expires_at": null,
  "formats": {
    "html": "https://feed7.dev/p/building-c-compiler-129wact",
    "json": "https://feed7.dev/p/building-c-compiler-129wact.json",
    "markdown": "https://feed7.dev/p/building-c-compiler-129wact.md"
  }
}