What is Interpreter ?

Interpreter is a program which translates one statement of a high-level language program into machine codes and executes it. In this way it proceeds further till all the statement of the program are translated and executed. On the other hand, a compiler goes through the entire high-level language program once or twice and then translates the entire program into machine codes. A compiler is nearly 5 to 25 times faster than an interpreter . An interpreter is a smaller program as compared to the compiler. It needs less memory space. It can be used in a smaller system which with limited memory space. The object program produced by the compiler is permanently saved for future reference.On the other hand, the object code of the statement produced by an interpreter is not saved. If an instruction is used next time, it must be interpreted once again and translate into machine codes.

Click here to go other blog


Comments

Follow me :-     Twitter             Youtube