News for hackers. Stuff that matters.
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by raincole on Thursday February 05, 2026 @04:38PM (#46905738)
It's not a clean-room implementation, but not because it's trained on the internet.

It's not a clean-room implementation because of this:

> The fix was to use GCC as an online known-good compiler oracle to compare against

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by Calavar on Thursday February 05, 2026 @05:38PM (#46906413)
The classical definition of a clean room implementation is something that's made by looking at the output of a prior implementation but not at the source.

I agree that having a reference compiler available is a huge caveat though. Even if we completely put training data leakage aside, they're developing against a programmatic checker for a spec that's already had millions of man hours put into it. This is an optimal scenario for agentic coding, but the vast majority of problems that people will want to tackle with agentic coding are not going to look like that.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by visarga on Friday February 06, 2026 @12:43AM (#46909539)
This is the reimplementation scenario for agentic coding. If you have a good spec and battery of tests you can delete the code and reimplement it. Code is no longer the product of eng work, it is more like bytecode now, you regenerate it, you don't read it. If you have to read it then you are just walking a motorcycle.

We have seen at least 3 of these projects - the JustHTML one, the FastRender and this one. All started from beefy tests and specs. They show reimplementation without manual intervention kind of works.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by Calavar on Friday February 06, 2026 @01:18AM (#46909707)
I think that's overstating it.

JustHTML is a success in large part because it's a problem that can be solved with 4 digit LOC. The whole codebase can sit in an LLM's context at once. Do LLMs scale beyond that?

I would classify both FastRender and Opus C compiler as interesting failures. They are interesting because they got a non-negligible fraction of the way to feature complete. They are failures because they ended with no clear path for moving the needle forward to 80% feature complete, let alone 100%.

From the original article:

> The resulting compiler has nearly reached the limits of Opus’s abilities. I tried (hard!) to fix several of the above limitations but wasn’t fully successful. New features and bugfixes frequently broke existing functionality.

From the experiments we've seen so far it seems that a large enough agentic code base will inevitably collapse under its own weight.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by franktankbank on Friday February 06, 2026 @09:55AM (#46913566)
Great way to get constantly moving holes.
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by jayd16 on Friday February 06, 2026 @02:12PM (#46916872)
> Code is no longer the product of eng work

Never was.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by array_key_first on Thursday February 05, 2026 @05:54PM (#46906569)
If you read the entire GCC source code and then create a compatible compiler, it's not clean room. Which Opus basically did since, I'm assuming, its training set contained the entire source of GCC. So even if they were actively referencing GCC I think that counts.
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by nmilo on Thursday February 05, 2026 @07:00PM (#46907217)
What if you just read the entire GCC source code in school 15 years ago? Is that not clean room?
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by hex4def6 on Thursday February 05, 2026 @07:27PM (#46907433)
No.

I'd argue that no one would really care given it's GCC.

But if you worked for GiantSodaCo on their secret recipe under NDA, then create a new soda company 15 years later that tastes suspiciously similar to GiantSodaCo, you'd probably have legal issues. It would be hard to argue that you weren't using proprietary knowledge in that case.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by Zambyte on Friday February 06, 2026 @10:28AM (#46914008)
Given that GCC is not public domain, the copyright holders will probably care.
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by pertymcpert on Friday February 06, 2026 @01:44AM (#46909857)
I read the source. If anything it takes concepts from LLVM more than GCC, but the similarities aren't very deep.