← All projects
Project record01 mention
Originally shared on Hacker News

cppgm-extended

A C++ compiler built by teaching AI agents to write C++ compilers from scratch. After iterating on many agent-built versions, the resulting compiler compiles about 4x faster than GCC and Clang. The build process is documented in a blog series, and the project inspired the author's new Rust compiler effort.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. cppgm-extended

    A C++ compiler built by teaching AI agents to write C++ compilers from scratch. After iterating on many agent-built versions, the resulting compiler compiles about 4x faster than GCC and Clang. The build process is documented in a blog series, and the project inspired the author's new Rust compiler effort.

    Posted by @vishvananda · Original comment ↗

    “This was inspired by a project I started[1] about six months ago to teach agents to build C++ compilers from scratch. I wrote a (long) series of blogs about the process[2]. After iterating on many agent built C++ compilers, I now have a version that compiles about 4x faster than GCC and Clang[3].”