compiler and interpreter ?

A compiler translates each line in a program just once whereas an interpreter may translate a line several times if the line is involved in a loop. Compilers come in various sub types but one major split is between the traditional compiler which translates the whole program for execution later, and the JIT (Just In Time) compiler which translates the program line by line (or module by module) just before each line is executed. This is similar to an interpreter except that the JIT compiler keeps the translated code for later in case the line is executed again, whereas the interpreter translates the line again the next time it has to execute it.

Google is your friend buddy ;)
 
Back
Top