Lurker News
Back to discussion

Comment by Silhouette

Silhouette1 reply#
But you never heard someone say "you should still code in assembly so you can understand what your compiler is doing".

Would I routinely code in assembly today? Not for (almost) any new project.
Can I understand assembly and have I used that skill to understand performance problems or debug unexpected behaviour (including some that really did turn out to be caused by bugs in popular compilers)? Absolutely.
I'm not generally a fan of the comparison between what LLMs do and what compilers do. Compilers might vary in their output for given source code but they still follow (hopefully) well-defined specifications. Their behaviour is deterministic and the behaviour of their output is deterministic. With sufficient understanding you can reason about that output or diagnose faults in the compiler behaviour if you ever need to. None of this is true for LLMs.

solidasparagus3 replies#
How does it differ other than that people aren't currently choosing to write clear, well-defined high-level specs and feeding that into their agent?
krial1 reply#
> Their behaviour is deterministic This isn't true for LLM generated code!
solidasparagus3 replies#
Neither are compilers? But you still trust your JIT compiler. Determinism is unimportant, likelihood of correctness is what matters. Plus agents are deterministic, no?

Continue this thread — 3 replies

crabmusket1 reply#
You can debug a compiler. If an LLM writes code you don't like, how would you debug that? You wouldn't. You'd just ask again and hope it does a better job.
solidasparagus5 replies#
Not 1 in 1000 software engineers has the ability to debug a compiler. And you can absolutely debug agent failures, but similarly almost no does. In both cases for the mast majority of engineers, they are black boxes.

Continue this thread — 5 replies