Code Translation: Interpretation and Compilation

Learn about the process of translating code into something that the computer understands using interpretation and compilation.

Code translation

The code that a programmer writes is called source code. Earlier, we learned that this code must be translated into machine code so that the computer can understand it. There are two main principles of how this translation is done. We’ll first explore these two concepts and look at their pros and cons before we look at a combination of these two concepts:

  • Interpreting
  • Compiling

Get hands-on with 1400+ tech skills courses.