difference between compiler and interpreter ?

View previous topic View next topic Go down

difference between compiler and interpreter ?

Post by ashu4261 on Wed Jan 15, 2014 5:47 pm

The differences between Compiler and Interpreter are:

Compiler
1 : one that compiles

2 : a computer program that translates an entire set of instructions written in a higher-level symbolic language (as C) into machine language before the instructions can be executed

spends a lot of time analyzing and processing the program

the resulting executable is some form of machine- specific binary code

the computer hardware interprets (executes) the resulting code

program execution is fast


Interpreter

1: one that interprets: as a: one who translates orally for parties conversing in different languages b: one who explains or expounds

2 a: a machine that prints on punch cards the symbols recorded in them by perforations b: a computer program that executes each of a set of high-level instructions before going to the next instruction

relatively little time is spent analyzing and processing the program

the resulting code is some sort of intermediate code

the resulting code is interpreted by another program

program execution is relatively slow
avatar
ashu4261
Chief mentor
Chief mentor

Posts : 67
Points : 208
Reputation : 4
Join date : 2014-01-15
Age : 27
Location : Lucknow

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum