Hacker News new | ask | show | jobs
by wdr1 53 days ago
All of this "you need to understand the code" discussion reminds me of when I was an undergrad. I worked in a computer with someone a fair bit older -- they had even worked with punchcard systems. He was always happy to oblige us with war stories from the olden times & we would lap them up.

He favorite axe to grind was how my generation put too much trust into the compiler. "Just because it compiles doesn't mean you're done. You need to look at the actual assembly. Compilers can be VERY inefficient."

This was in the 90s. There was some merit to his claim.

But today? How many people who write Javascript look at the actual assembly code that is run? Not many.

I can't help but wonder if this current "you need to understand the code" is the same thing all over again. And if in a few years, almost nobody will look at the generated Python, Ruby, etc.

5 comments

A compiler is far more deterministic than any LLM. I am skeptical that the two situations are really comparable.
The LLM "abstraction" is virtually made of leaks, so it's not much of an abstraction at all. Not everything that produces output faster is an abstraction.
Please do not compare LLMs to compilers unless you want people to immediately discard your opinions.
It's such an overused argument by this point
> But today? How many people who write Javascript look at the actual assembly code that is run? Not many.

They don't look but they should.

the person who looked at the assembly in the 90s is probably doing it now as well.
You can bet your hind side I am. The motivation to do this does not go away just because the tools change.
Exactly my point.
v8 folks definitely care about the assembly code generated by the compiler.