2015年4月8日 星期三

V8 and NodeJS

1. What are them?

V8 is such as a interpreter and a platform that run javascript code and glue the C++ .

Node.js is framework that provides  the basic API such the buffer. It will be extend to a lot of modules such as network, server and etc.

2. Introduction of V8
Feature:

  • V8 is Google's open source JavaScript engine.
  • V8 implements ECMAScript as specified in ECMA-262.
  • V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
  • V8 can run standalone, or can be embedded into any C++ application.
Download:
      You can download the code from git v8-git-mirror

How-does-a-JavaScript-engine-work:

V8 Component:
  • JS object and compiler
  • Share library
  • Runtime enviroment


3. Introduction of Node.JS
Node js provides many programming API and you can write the js on server side.
Following is the API snip from official site and you cand



















4. Advance topic about Custom your API
This article teach how to design a API using V8 API how-to-roll-out-your-own-javascript-api-with/



REF:
V8 build
How V8 work
google v8

沒有留言:

張貼留言