Comments by "Rūsī" (@rusi6219) on "Absolute Mad Lads - Terry A. Davis" video.
-
2
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
@literallyshaking8019 a compiler just translates from one representation to another, typically from a regular programming language to assembly, output is then assembled and linked by additional tools which are typically implemented by the compiler as well, in modern compilers at least. Translating from one language to another is the task of a compiler; doesn't have to be from a high level language to assembly, can be from a low level language to a high level language, doesn't matter. Other than that, modern compilers also optimize the code, optimize the output, pad the structures in order to make it easier for the CPU to read data efficiently (search data alignment), and other tasks. Modern compilers typically add an extra step before compilation to assembly, and that is compilation to an intermediate language, in the form of an abstract syntax tree. Examples include Apple's LLVM and GNU's GIMPLE.
1
-
1