4COMPILER OPERATION AND CODE GENERATION

image

In order to write HLL code that produces efficient machine code, you must first understand how compilers and linkers translate high-level source statements into executable machine code. Complete coverage of compiler theory is beyond the scope of this book; however, this chapter explains the basics of the translation process so you can understand and work within the limitations of HLL compilers. We’ll cover the following topics:

  • The different types of input files programming languages use

  • Differences between compilers and interpreters

  • How typical compilers process source files to produce executable programs ...

Get Write Great Code, Volume 2, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.