Hacker News new | ask | show | jobs
by bmitc 19 days ago
> Nowadays people don't verify the compiler generated assembly code anymore. We don't care if our source generates a few million extra instructions.

This analogy doesn't hold up. Compilers are designed programs and are deterministic. We "know" what they generate, and what they generate and how they generate it is well-designed and tested, and there are certainly people and teams who know how the compilers work.

None of that is true for LLM-generated code.

> To resolve this we should aim for a new intermediate format that is more high level than source code

That was the problem before and after. LLMs did nothing to address that. This is what the entire software engineering domain is about: translating loose system designs and requirements into programs.

1 comments

LLMs do not replace the code, they replace the coder. The coder becomes the manager, and the model becomes the coder. The code it writes is ultimately deterministic and can be tested. The LLM coder may still hallucinate, although that can be said of human coders too. In the classic development model, we use specs and tickets to steer the output of a human coder. My take is that the same needs to be done for LLM coders.