了解 JavaScript engine V8
更新記錄
item | note |
---|---|
20160204 | 第一版 |
目錄
JavaScript
JavaScript engine
- JavaScript’s integration with Netscape Navigator in the mid 1990s made it much easier for web developers to access HTML,來源
- Javascript為一程式語言,需介由直譯器(JavaScript engine)去解析
- 在Chrome上面的JavaScript engine為V8
- 在Internet Exploer(windows ie)上面的JavaScript engine為JavaScript
- Firefox使用SpiderMonkey
- Safari使用JavaScriptCore
- JavaScript Language: 網景、昇陽、微軟和Borland公司組成的工作群組確定統一標準:ECMA-262
- 目前最新版為ECMA-262 5th Edition
- JavaScript language resources
V8 JavaScript engine
V8 is Google’s open source high-performance JavaScript engine, written in C++ and used in Google Chrome
- The V8 API provides functions for compiling and executing scripts,
- Handles and Garbage Collection
- Contexts: a context is an execution environment that allows separate
nodejs為js的直譯器(採用V8 engine)
- nodejs
- codebase由:libuv、v8、openssl、zlib等架構組成
- 可以使用v8建立,nodejs module