• Register

Share:- Whatsapp Facebook Facebook

------------------------------------- Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.


0 votes
What is a v8 engine ?
in Node.js by

1 Answer

0 votes
Google V8 is a JavaScript engine built at the google development center, in Germany. It is an open source that is written in C++. It is used for both client side (Google Chrome) and server side (node.js) JavaScript applications.

Google V8 can run standalone or can be embedded into any C++ application. Google V8 was first designed to increase the performance of the JavaScript execution inside web browsers. In order to speed, V8 translates JavaScript code into more efficient machine code instead of using an interpreter.

Google V8 engine compiles JavaScript code into machine code at execution by implementing a JIT (Just-In-Time) compiler like a lot of modern JavaScript engines such as SpiderMonkey or Rhino (Mozilla) are doing. The main difference with V8 is that it doesn’t produce bytecode or any intermediate code.
by (4.4k points)