Introduction of Programming Paradigms Paradigm


Compilation and Interpretation



Download 43.3 Kb.
Page6/8
Date14.01.2022
Size43.3 Kb.
#58057
1   2   3   4   5   6   7   8
Introduction of Programming Paradigms
Compilation and Interpretation:
Compilation:

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









Interpretation:

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 ©ininet.org 2024
send message

    Main page