Asked in
Computer Programming
Java Programming
C Programming

Compiler vs interpreter?


User Avatar
Wiki User
April 18, 2013 2:07PM
  • Compiler -- spends some time evaluating the entire program and then translates all the programming statements of a program into a machine language program, which is then executed at once.
  • Interpreter -- translates interactively each programming statement into an immediately usable machine language instruction. Although an interpreter slows down the execution speed of a program somewhat, it does not require extra steps to compile and link like a compiler.
  • In a production environment where throughput is more critical, a compiled language is preferred.
  • Any high-level language can either be interpreted or compiled.