13 · Environments & Packaging

Compiler / Interpreter

Two ways code gets run

A compiler translates your whole program up front into machine code; an interpreter runs it line by line as it goes.

Concrete example

C is compiled before it runs; Python is interpreted on the fly.