interpreter vs compiler difference code example
Example: compiler vs interpreter
# Interpreters and compilers are very similar in structure.
$ The main difference is that an interpreter directly executes
# the instructions in the source programming language while a
# compiler translates those instructions into efficient machine code.