3 ms·
Well, looks like the GP missed a very common false fact: The operations written in a program must literally represent the operations the computer will execute.
by marcosdumay 2y ago
Well, looks like the GP missed a very common false fact:
The operations written in a program must literally represent the operations the computer will execute.
This one stops being true on high-level languages at the level of x86 assembly.
- bayindirh 2y agoExactly. A MOV is reduced to a register rename. An intelligent compiler can rewrite multiply/divide by 2 as shifts if it makes sense, etc. "Assembly is not a low level language" is my favorite take, and with microcode and all the magic inside the CPU, it becomes higher level at every iteration.
- ahoka 2y agoTrue. :)