V8 (JavaScript engine)
![]() |
|
---|---|
Developer(s) | |
Stable release | 2.4.6[1] / September 27, 2010 |
Development status | Active |
Written in | C++, JavaScript |
Operating system | Microsoft Windows, Mac OS X, Linux, FreeBSD, Android, webOS |
Platform | x86, x64, ARM |
Type | JavaScript engine |
License | BSD license |
Website | http://code.google.com/p/v8/ |
The V8 JavaScript engine is an open source JavaScript engine developed by Google in Denmark and shipping with the Google Chrome 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 a bytecode or interpreting it. Further performance increases were achieved by employing optimization techniques such as inline caching. With these features, JavaScript applications running within V8 have an effective speed comparable to a compiled binary.[4]
The garbage collector of V8 is a generational stop-the-world collector.[5]
The V8 assembler is based on the Strongtalk assembler.[6]
See also
References
- ^ "Changelog - V8 JavaScript Engine". Google Code. Google. 27 September 2010. http://code.google.com/p/v8/source/browse/trunk/ChangeLog. Retrieved 27 September 2010.
- ^ 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.
- ^ Seeley, Rich; Vaughan, Jack (5 September 2008). "Google Chrome shifts architects' equations as V8 powers the browser". TechTarget. http://searchsoa.techtarget.com/news/article/0,289142,sid26_gci1328625,00.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.
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 Nodejs is an evented I/O framework for the V8 JavaScript engine.
|