COMPUTING
NERDS.COM
A PLACE TO LEARN PYTHON PROGRAMMING
WHAT IS A COMPILER?



A compiler translates the whole program into machine code before the program is run. It can be difficult to test individual lines of compiled code compared to interpreted languages as all bugs are reported after the program has been compiled.

1. The machine code is saved and stored separately to the high-level code.
2. Compilation is slow but code can be executed quickly.
3. Java and C++ are compiled languages.