+ 3
Compiler vs Interpreter
COMPILER Compiler works on the complete program at once. It takes the entire program as input. Compiler executes conditional control statements (like if-else and switch-case) and logical constructs faster than interpreter. Compiler generates intermediate code, called the object code or machine code. INTERPRETER Interpreter program works line-by-line. It takes one statement at a time as input Interpreter execute conditional control statements at a much slower speed. Interpreter does not generate mch
1 Odpowiedź
+ 11
If you are looking for speed, compiled programs are better, once they are compiled.
Modifying a compiled program takes time too.
But speed is not all you need.
Interpreted codes are running on different OS, do not need to be installed, easy to read and modify...
In a smartphone in JavaScript you can manipulate an HD video while you are playing it, with no frame lost.
What for a better speed do you need?