V8 (JavaScript engine)
![]() |
|
---|---|
Developer(s) | |
Stable release | 3.7.0[1] / October 13, 2011 |
Development status | Active |
Written in | C++, JavaScript, Assembly |
Operating system | Microsoft Windows, Mac OS X, Linux, FreeBSD, Android, webOS |
Platform | x86, x86-64, ARM |
Type | JavaScript engine |
License | BSD license |
Website | http://code.google.com/p/v8/ |
The Google V8 JavaScript Engine is an open source JavaScript engine developed by Google and ships with the Google Chrome web browser.[2] Lars Bak is the head programmer.[3]
V8 increases performance by compiling JavaScript to native machine code before executing it, rather than to execute bytecode or interpreting it. Further performance increases are achieved by employing optimization techniques such as inline caching. With these features, JavaScript applications running within V8 are said to have an effective speed comparable to a compiled binary.[citation needed]
Contents |
Details
The garbage collector of V8 is a generational stop-the-world collector.[4]
The V8 assembler is based on the Strongtalk assembler.[5]
Crankshaft
On 7th December 2010, a new compilation infrastructure called Crankshaft was introduced, with speed improvements.[6]
See also
- Google Chrome
- Chromium (web browser)
- Node.js
- JavaScriptCore
- SpiderMonkey
- Dart (programming language)
References
- ^ "Changelog - V8 JavaScript Engine". Google Code. Google. 13 October 2011. http://code.google.com/p/v8/source/browse/trunk/ChangeLog. Retrieved 13 October 2011.
- ^ Lenssen, Philipp (1 September 2008). "Google on Google Chrome - comic book". Google Blogoscoped. Google. http://blogoscoped.com/google-chrome/. Retrieved 17 August 2010.
- ^ Minto, Rob (27 March 2009). "The genius behind Google’s web browser". Financial Times. http://www.ft.com/cms/s/2/03775904-177c-11de-8c9d-0000779fd2ac.html. Retrieved 17 August 2010.
- ^ "Introduction - V8 JavaScript Engine". Google Code. Google. http://code.google.com/intl/sv/apis/v8/intro.html. Retrieved 17 August 2010.
- ^ "License - V8 JavaScript Engine". Google Code. Google. http://code.google.com/p/v8/source/browse/trunk/LICENSE. Retrieved 17 August 2010.
- ^ "Chromium Blog : A New Crankshaft for V8". Google. http://blog.chromium.org/2010/12/new-crankshaft-for-v8.html. Retrieved 22 April 2011.
External links
- Google Code project page
- cproxyv8 and v8-juice are C++ libraries for extending V8, e.g. to assist in binding client-side C++ classes to JavaScript.
- v8cgi is a V8-based framework for serving web application written in JavaScript.
- Node.js is another V8-based framework for writing event-driven servers in JavaScript.
- pyv8 Python Wrapper for Google V8 Javascript Engine
- jav8 An implementation of the Java Scripting API (JSR223) base on the Google V8 Javascript engine.
- nasiu-scripting Scripting framework for derive C++ classes in V8 Javascript
|