News for hackers. Stuff that matters.
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by itay-maman on Thursday February 05, 2026 @04:42PM (#46905783)
My first reaction: wow, incredible.

My second reaction: still incredible, but noting that a C compiler is one of the most rigorously specified pieces of software out there. The spec is precise, the expected behavior is well-defined, and test cases are unambiguous.

I'm curious how well this translates to the kind of work most of us do day-to-day where requirements are fuzzy, many edge cases are discovered on the go, and what we want to build is a moving target.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by ndesaulniers on Thursday February 05, 2026 @04:46PM (#46905832)
> C compiler is one of the most rigorously specified pieces of software out there

/me Laughs in "unspecified behavior."

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by ori_b on Thursday February 05, 2026 @05:03PM (#46906029)
There's undefined behavior, which is quite well specified. What do you mean by unspecified behavior? Do you have an example?
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by ndesaulniers on Friday February 06, 2026 @02:16AM (#46910029)
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by irishcoffee on Thursday February 05, 2026 @05:30PM (#46906326)
Undefined is absolutely clear in the spec.

Unspecified is whatever you want it to mean. I am also laughing, having never heard "unspecified" before.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by LiamPowell on Thursday February 05, 2026 @07:36PM (#46907507)
Unspecified behaviour is defined in the glossary at the start of the spec and the term "unspecified" appears over a hundred times...
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by softwaredoug on Thursday February 05, 2026 @05:50PM (#46906543)
Yes I think any codegen with a lot of tests and verification is more about “fitting” to the tests. Like fitting an ML model. It’s model training, not coding.

But a lot of programming we discover correctness as we go, one reason humans don’t completely exit the loop. We need to see and build tests as we go, giving them particular care and attention to ensure they test what matters.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by uywykjdskn on Thursday February 05, 2026 @06:47PM (#46907114)
The agent can obviously do that
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by cryptonector on Thursday February 05, 2026 @09:23PM (#46908213)
> My second reaction:

This is the key: the more you constrain the LLM, the better it will perform. At least that's my experience with Claude. When working with existing code, the better the code to begin with, the better Claude performs, while if the code has issues then Claude can end up spinning its wheels.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by astrange on Friday February 06, 2026 @05:03AM (#46911011)
The C spec is certainly not formal or precise.

https://www.ralfj.de/blog/2020/12/14/provenance.html

Another example is that it's unclear from the standard if you can write malloc() in C.

Re:We tasked Opus 4.6 using agent teams to build a C Compiler by butterNaN on Friday February 06, 2026 @09:16AM (#46913074)
Sure but the point OP is making is that it is still more spec'd than most real world problems
Re:We tasked Opus 4.6 using agent teams to build a C Compiler by astrange on Friday February 06, 2026 @03:07PM (#46917505)
You're welcome to try writing a C compiler and standard library doing no research other than reading the spec.