the life of a translated program (in a nutshell)

The compiler takes in source code and outputs assembly code.

The assembler takes in assembly code and outputs object code.

The linker takes one or more object code files, links them together, and outputs binary code.

The loader loads binary code into memory and it gets executed.

Leave a Reply