Compilationin Context
Compiler:
- Translates your language to the target language.
Interpreter:
- Creates a virtual machine on the target system that understands your language directly.
Compiled code runs faster than interpreted code, since direct execution of the target language is faster than the indirect emulation of the virtual machine interpreter.