Remix.run Logo
robotresearcher 7 hours ago

A compiler writes the ASM code for you, and the typesetter does the layout for you, yes absolutely.

The high level language code is a prompt for the compiler. Consider that there is parsable C code whose behavior is not even defined. There are still bugs in compilers today, where the code produced is not what you intended. And further, modern compilers do lots of work to optimize performance. You usually don’t even look at the resulting code, you just gratefully accept the rewrite for the extra oomph.