What is the difference between an interpreter and a compiler?
Question : What is the difference between an interpreter and a compiler?
Interpreter: Interpreter is a type of system software that translates and executes instructions written in a computer program lini-by-line, unit by unit etc. It is slower in execution because each time when you run the program translation is required.
Compiler: Compiler is another type of system software that translates and executes instructions
written in a computer program in one go. Once compiled program need not to translate again so
it works faster.