Node.js TutorialLesson 7Free preview
Node V8 Engine
This lesson is part of Node.js · All levels
Summary
V8 is an open source JavaScript engine from Google that is at the heart of Node.js. V8 converts JavaScript code into bytecode and then optimizes it into native code through Just-In-Time compilation. This high performance makes Node capable of handling thousands of requests simultaneously.
Key points
- V8 was developed by Google for Chrome and is also used by Node.js
- JS code compiled Just-In-Time into native code for high performance
- V8 uses techniques such as hidden classes and inline caching
- The node can be compiled with a specific version of V8; --v8-options display the engine options.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.