History
Before the second browser wars in 2008-2009, the JavaScript engine (also known as JavaScript interpreter or JavaScript implementation) was known simply as an interpreter that read and executed JavaScript source code.
The first JavaScript engine was created by Brendan Eich at Netscape Communications Corporation for the Netscape Navigator web browser. The engine, code named SpiderMonkey, is implemented in C. It has since been updated (in JavaScript 1.5) to conform to ECMA-262 Edition 3. The Rhino engine, created primarily by Norris Boyd (also at Netscape) is a JavaScript implementation in Java.
By far the most common host environment for JavaScript is a web browser. Web browsers typically use the public API to create "host objects" responsible for reflecting the DOM into JavaScript.
The web server is another common application of the engine. Jaxer is a web server that runs entirely on JavaScript; this has the benefit of allowing the same code to be shared on the server and on the client.
JavaScript engines
Major browser JS engines:
Mozilla
- Rhino, managed by the Mozilla Foundation, open source, developed entirely in Java
- SpiderMonkey (code name), the first ever JavaScript engine, written by Brendan Eich at Netscape Communications
- TraceMonkey, the engine promoted with Firefox 3.5
- JägerMonkey, the engine in development for Mozilla Firefox 4.
- Tamarin, by Adobe Labs
- V8 - open source, developed by Google in Denmark, part of Google Chrome
Other
- KJS - KDE 's ECMAScript/JavaScript engine originally developed by Harri Porten for the KDE project's Konqueror web browser
- Narcissus open source, written by Brendan Eich, who also wrote SpiderMonkey
- Chakra, for Internet Explorer 9.
- Nitro, (formerly SquirrelFish) for Safari 4
- Carakan, by Opera Software, used since Opera 10.50
- Futhark, by Opera Software, replaced by Carakan in Opera 10.50 (released March 2010)
No comments:
Post a Comment