Sunday, June 18, 2017

What is V8?

V8 is a 8 cylinder engine if you are a automobile geek. However V8 is also the open source, high performance ECMA compliant JavaScript engine from none other than Google.

V8 is written in C++. It is used in many embedding applications such as Chromium and Node.js ("Node.js® is a JavaScript runtime built on top of Chrome's V8 JavaScript engine).  Just like a web browser access the document object model(DOM), V8 engine together with Chromium provides the same functionality and additionally provides all data types, operators, objects, functions etc.

In addition to compiling Javascript code, it does memory managment; assigning objects to memory; monitoring property changes and doing garbage collection.

Read more here:
https://github.com/v8/v8/wiki/Introduction

No comments: