December 2021
Beginner
840 pages
47h 29m
English
Table 4.1 summarizes the advantages and disadvantages of compilation and pure interpretation. The primary difference between the two approaches is speed of execution. Interpreting high-level language is slower than interpreting object code primarily because decoding high-level statements and expressions is slower than decoding machine instructions. Moreover, a statement must be decoded as many times as it is executed in a program, even though it may appear in the program only once and the result of that decoding is the same each time. For instance, consider the following loop in a C fragment, which computes 21,000,000 iteratively:6
Table 4.1 Advantages and Disadvantages of Compilers and Interpreters ...
Read now
Unlock full access