| Compiler | Interpreter |
| Scans the entire program before translating it into machine code. | Translates and executes the program line by line. |
| Converts the entire program to machine code and executes program only when all the syntax errors are removed. | The interpreter executes one line at a time, after checking and correcting its syntax errors and then converting it to machine code. |
| Slow in debugging or removal of mistakes from a program. | Good for fast debugging. |
| Program execution time is less. | Program execution time is more. |
0 comments:
Post a Comment