Both compiler and interpreters convert higher level programming language used by humans to machine code executed by computer. However, a compiler will convert the code into machine code (create an exe) before program run. Interpreters convert code into machine code when the program is run. Generally, complier has more room for optimization since it is analyzing the whole program and has more time for conversation to machine code.
Comments
Leave a comment