#87 Compilers and Interpreters
How does source code become machine code?
A compiler is a program that takes source code written in a programming language and converts it into machine code that a microprocessor can understand. Compilers are sophisticated programs composed of several different phases including (but not limited to) tokenization, parsing, and machine code generation. In this episode we breakdown why compilers are important, how they work, and how they differ from interpreters. We also explain tangential topics like just-in-time compilers and transpilers. Ultimately compilers and interpreters often have to deal with several trade offs. After listening to this episode, you will better understand those tradeoffs and why one compiler will differ from another.
Show Notes
- Episode 35: The C Programming Language
- Crafting Interpreters via Amazon
- The Dragon Book via Amazon
- Ukraine Humanitarian Organizations via Readdle
Follow us on Twitter @KopecExplains.
Theme “Place on Fire” Copyright 2019 Creo, CC BY 4.0
Find out more at http://kopec.live