Question:
Whats the differences between an interpreter and a complier?
Author: Will ParkerAnswer:
A comiler produces object code/ excutable file An interpreture does not produce an object code An interpreture analyses a program line by line whereas a compiler does the whole block of code A compiler will not procuce an executable file if an error is found but an interpreture will run the code until the first error is detetced Interpreted code will excute slower than excuting the object code produced by a complier Do not need a compiler to excute a compiled program but when running interpreted code the interpreture always needs to be present Once compiled source code is no longer needed to run the program but an interpreture always needs source code at runtime Compiled code can only excute on a machine with the same processor type whereas interpreted code is more portable
0 / 5 Â (0 ratings)
1 answer(s) in total