Friday, March 22, 2013

Difference between a compiler and interpreter

What is the difference between a compiler and interpreter?

First, what is a program?
Program is set of instruction which tells computer what to do.

Compiler is a program who understand the instruction written by you in a particular language and outputs a new program and now new program is given to computer to act on.

Where interpreter does does both tasks at once.

No comments: