I was reading this excellent article on V8, Google's Javascript engine: https://developers.google.com/v8/design#mach_code.
At one point, they say that Javascript is compiled directly into machine language, without any bytecode or an interpreter.
To quote:
V8 compiles JavaScript source code directly into machine code when it is first executed. There are no intermediate byte codes, no interpreter.
So, why is Javascript still listed along with the "scripting" and "interpreted" languages, when it is clearly compiled (in V8, at least)?
Edit: can I somehow create an executable out of Javascript, if it is compiled? That would require somehow linking it to V8?
Considering that question, I found this quote:
V8 can run standalone, or can be embedded into any C++ application.
Here: http://code.google.com/p/v8/.