Introduction of Programming Paradigms Paradigm

Compilation and Interpretation

Download 43.3 Kb.
Size43.3 Kb.
1   2   3   4   5   6   7   8
Introduction of Programming Paradigms
Compilation and Interpretation:

The compiler translates the high-level source program into an equivalent target program (typically in machine language) and then goes away.


An alternative style of implementation for high-level languages is known as interpretation.

  • Interpreter stays around for the execution of the application.

  • In fact, the interpreter is the locus of control during that execution.

  • Interpretation leads to greater flexibility and better diagnostics (error messages) than does compilation.

  • Because the source code is being executed directly, the interpreter can include an excellent source-level debugger.

  • Delaying decisions about program implementation until run time is known as latebinding;

Download 43.3 Kb.

Share with your friends:
1   2   3   4   5   6   7   8

The database is protected by copyright © 2022
send message

    Main page