How is an interpreter different from a compiler?


How interpreter different from a compiler


Interpreter translates statement by statement into equipment code and execute immediately. Not any object code is saved. Compiler first translates the source code to object code. This particular object code is executed independently. Every time we want to executed program, interpreter translates the program and hence it is slow-moving. Once object code is available after compilation there' no requirement to translate program hence compilers are fast.



Post a Comment

0 Comments