Escolar Documentos
Profissional Documentos
Cultura Documentos
It makes use of compilers i.e. translators that generate machine code from source code and not
interpreters (step by step executors of source code where no translation occurs. This implies
that the language is interpreted to run-time so the instructions are executed immediately. Any
errors in an interpreted program will result in the execution of the code to be stopped. A closer
look at the C++ language that is the compiled language reveals intermediate code generation,
code optimization and machine code generation. This results in a more efficient and faster
execution of the code.
Interpreted languages such as Python are generally portable across various hardware and
network platforms and scripts can be embedded in standard text documents for added
functionality.
They have a simple syntax which provide the following benefits to the user;
Unlike a compiler the interpreter checks syntax and generates object code one source line at a
time. When an error is encountered the interpreter immediately feeds back information on the
type of error and stops interpreting the code thereby allowing the programmer to see instantly
the type of error as well as its location and make changes then have it reinterpreted.
Compilers analyze the whole entire program checking for errors as well as where they have
occurred and places them in an error diagnostic file and the programmer must then have to use
the error message to identify and add corrections.
1. Fast execution because they are translated directly to the native code of the specific
machine
2. Error correction can be very time consuming and frustrating in cases where too many
errors arise
3. Require a compiler e.g. Code blocks
Citations
Differences between compiled and Interpreted Languages. (n.d.). Retrieved February 01, 2017,
from http://www.codeproject.com/Articles/696764/Differences-between-compiled-
and-Interpreted-Langu