Hacker News new | ask | show | jobs
by AnimalMuppet 124 days ago
I disagree. Compilers were deterministic. Complicated, but deterministic. You could be sure that it was going to emit something sensible.

AI? Not so much. Not deterministic. Sure, the probability of something bizarre may go down. But with AI, as currently constituted, you will always need to review what it does.

1 comments

I think the comparison is slightly off. The compiler was never the author — it was the verifier.

The real comparison is: 1. Human writes code (non-deterministic, buggy) → compiler catches errors

2. AI writes code (non-deterministic, buggy) → compiler catches errors

In both cases, the author is non-deterministic. We never trusted human-written code without review and compilation either (and + lots of tests). The question isn't whether AI output needs verification — of course it does. The question is whether AI + human review produces better results faster than human alone.

The compiler isn't so much a verifier than that it is a translator. The verification step wasn't the initial focus but over time it became more and more important.
The compiler catches certain classes of errors. And AI can spit out unmaintainable code or code with incorrect logic or giant security holes a lot faster than humans can review it.