Difference between Compiler and Interpreter

January 28, 2012 2 Comments » Hits : 358





Difference between Compiler and Interpreter

 No
CompilerInterpreter
1Compiler Takes Entire program as inputInterpreter Takes Single instruction as input .
2Intermediate Object Code is GeneratedNo Intermediate Object Code is Generated
3Conditional Control Statements are Executes fasterConditional Control Statements are Executes slower
4Memory Requirement : More (Since Object Code is Generated)Memory Requirement is Less
5Program need not be compiled every timeEvery time higher level program is converted into lower level program
6Errors are displayed after entire program is checkedErrors are displayed for every instruction interpreted (if any)
7Example : C CompilerExample : BASIC

Incoming search terms:

  • Ralph Lechman

    Great wordpress blog here.. It’s hard to find quality writing like yours these days. I really appreciate people like you! take care

  • Haywood Heth

    This is very attention-grabbing, You’re an overly skilled blogger. I have joined your rss feed and look ahead to in quest of more of your wonderful post. Additionally, I’ve shared your web site in my social networks!