I know that V8 is a JavaScript engine, but does it work in a similar way to a Java Virtual Machine?
If it doesn’t work in the same manner, what are the differences? Does V8 compile JavaScript to machine language directly?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Excepting that Lars Bak was instrumental to both projects, they are unrelated.
V8 is a JavaScript engine that compiles JavaScript to native machine code, used most notably by Google Chrome and Node js.
The JVM is a virtual machine that runs bytecode produced by a Java compiler.
One is a JavaScript engine, and the other is a Java Virtual Machine, and note that Java and JavaScript are about as similar as cars and carpets. Also note that one is a compiler, and the other is a medium for execution.