Interpreter Vs. Compiler

Read Complete Research Material

INTERPRETER VS. COMPILER

Interpreter versus Compiler

Interpreter versus Compiler

Introduction

Interpreter and compiler both are the translators used to translate high level programming language into low level language that can easily be understood by the computers. An Interpreter mainly those form of source code into machine code that can be executed and evaluated immediately. Both interpreter and compiler possess similar form of structure, but the time duration that is required to execute its performances depends on the amount of optimization. Interpreter consumes relatively little time in analysis and process of data as compare to compiler but the program execution is interpreter is very slow as compare to the compiler.

Discussion

Compiler and interpreter both are highly used for the conversion of source code into machine code but there are a number of advantages that make compilers superior than interpreter. The code that is entered to a compiler can be minimized according to a set of specified instructions of machine before getting saved in the form of an executable file while with interpreter languages are saved in the same code that was initially entered. While the execution of interpreted programs, they must be changed into machine instructions that makes the execution process slow as compare to compilers. Although there are many things that can be done in interpreted programs but seem to be impossible in compiler programs. For instance, during execution interpreted programs are capable of modifying themselves by altering the functions. It is also considered to be much simpler in an interpreted environment to develop programs because it is not required every time to recompile application when testing a small section is needed (Mak, 2011.pp.76-89).

Operating System is also included in Interpreted languages. The other languages that are involved in it are the shell scripts in Unix/Linux systems, MS-Dos Batch language, Perl, Java, and BASIC. Benefits ...
Related Ads