+ 2
What is the difference between interpreter and compiler ?
3 Answers
+ 4
Compiler compiles your code before executing and is faster than interpreter.
+ 3
generaly compilers turn your code into an executable file, like with c/c++/c#/java(in a way) and other languages, which you can then launch. Interpreter executes your code as it is by itself. Interpreted languages include python, html, js, css
+ 1
Compiler will go through your whole code before compiling --> it won't compile if there's an error. (example: C#)
Interpreter will read your code line by line, errors can be included and won't stop it from running. (example: php)