1/ I got nerd-sniped by a C++ compiler course 13 years ago and quit when the next step turned into a tedious parser refactor. A few months ago I handed the old code to Codex. It finished the refactor in about an hour.
@anotherjesse I have not. I’ve tweaked the prompts and the spec a lot to get better results and in my interactive optimization passes I have encouraged trying ambitious ideas
1/ I've been working on a scaffold to teach an agent how to build a self-hosting C++ Compiler from scratch for the past 6 months. My reference implementation can now compile C++ code 4x faster than GCC and Clang
3/ My most recent gpt-6.1-astra run achieved self-hosting for less than $500 in API costs. If you want give your agent/harness a shot, the scaffold is at https://t.co/dqA9djJKkf
2/ With post-run optimizations I'm within 50% of the performance of gcc/clang. Further runs will hopefully bring that down. Lot's to learn here about long-horizon agentic work. See all the details in https://t.co/z5AbAjfqLP
1/ Update from my agent-built c++ compiler project: I've had multiple end-to-end runs that reach self-hosting with no-human intervention. One was good enough for me to completely replace my reference implementation.
@jessfraz I’m continually impressed with how persistent codex will be with a well defined task with a clear tracker. I’ve seen multiple 24h+ loops. So yeah, autist grey beard resonates.
1/ I got nerd-sniped by a C++ compiler course 13 years ago and quit when the next step turned into a tedious parser refactor. A few months ago I handed the old code to Codex. It finished the refactor in about an hour.
8/ My current read: agents handle tedium well. They also take the easy path. Humans need contracts and gates that make that path land in the right place.
If you’ve ever wanted to know more about 12-Factor, this is the episode of Code[ish] to listen to!
Let special guest @vish tell you more and get to the heart of 12-Factor. 🎙️