William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories

V8 JavaScript Engine – NodeJS uses it.

V8 – V8 JavaScript Engine – NodeJS uses it.

This V8 is not the V8 juice. It is V8 JavaScript Engine from Google. According to wiki, The V8 JavaScript Engine is an open source JavaScript engine developed by Google. It ships with the Google Chrome web browser.

It is platform-independent, is compatible with different OS. All the browsers from different OS (mobile, mac, desktop, and laptop) should have same behavior.

From the following video, we can find how it works: not class inheritance, class method & property, it is sharing hidden properties among different objects. it is a very cool concept!

From the video, we can find that unlike traditional prototype-based/driven JavaScript, V8 uses hidden class, a very smarty concept.
It has 3 keys:

  • hidden class
  • a generated code – 1 time compiling – fast
  • efficient memory management system

V8 was not designed as a server-side engine, but as a browser-based engine.
V8 JavaScript Engine ships with Google Chrome browser; However, it is also a separate alone-project, the hot NodeJS is currently tightly coupled to Google’s V8 engine.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: