List of ECMAScript engines explained
An ECMAScript engine is a program that executes source code written in a version of the ECMAScript language standard, for example, JavaScript.
Just-in-time compilation engines
These are new generation ECMAScript engines for web browsers, all implementing just-in-time compilation (JIT) or variations of that idea. The performance benefits for just-in-time compilation make it much more suitable for web applications written in JavaScript.
- Carakan: A JavaScript engine developed by Opera Software ASA, included in the 10.50 release of the Opera web browser, until switching to V8 with Opera 15 (released in 2013).[1] [2] [3]
- Chakra (JScript9): A JScript engine used in Internet Explorer. It was first previewed at MIX 10 as part of the Internet Explorer 9 Platform Preview.
- Chakra: A JavaScript engine previously used in older versions of Microsoft Edge, before being replaced by V8.[4]
- SpiderMonkey: A JavaScript engine in Mozilla Gecko applications, including Firefox. The engine currently includes the IonMonkey compiler and OdinMonkey optimization module, has previously included the TraceMonkey compiler (first JavaScript JIT) and JägerMonkey.
- JavaScriptCore: A JavaScript interpreter and JIT originally derived from KJS. It is used in the WebKit project and applications such as Safari. Also known as Nitro, SquirrelFish, and SquirrelFish Extreme.[5]
- JScript .NET: A .NET Framework JScript engine used in ASP.NET based on Common Language Runtime and COM Interop. Support was dropped with .NET Core and CoreCLR so its future looks questionable for ASP.NET Core.
- Tamarin: An ActionScript and ECMAScript engine used in Adobe Flash.
- V8: A JavaScript engine used in Google Chrome and other Chromium-based browsers, Node.js, Deno, and V8.NET.
- GNU Guile features an ECMAScript interpreter as of version 1.9
- Nashorn: A JavaScript engine used in Oracle Java Development Kit (JDK) since version 8.[6]
- iv, ECMAScript Lexer / Parser / Interpreter / VM / method JIT written in C++.[7]
- CL-JavaScript: Can compile JavaScript to machine language on Common Lisp implementations that compile to machine language.[8]
- BESEN: A complete JIT-compiling implementation of ECMAScript Fifth Edition written in Object Pascal.[9]
- Hermes: developed by Facebook for React Native mobile apps[10] Can also be used independent from React Native.
- Graal.js: An ECMAScript compliant JavaScript engine for GraalVM which supports language interoperability that can also execute Node.js applications.
Runtime interpreter engines
The following engines use runtime interpreters, which do not compile into native machine code and generally run more slowly:
- Continuum: A self-interpreter that supports older drafts of the ECMAScript 2015 specification.[11] Uniquely, the engine is implemented in ECMAScript 3, which made it possible to run ES2015 in browsers as old as IE6.[12]
- Futhark: The ECMAScript engine of the Opera web browser versions 9.50 to 10.10.
- InScript: An obsolete proprietary library used for iCab 2 and 3.
- JScript: The engine that is used in Internet Explorer for versions up to IE9, and one component of the MSHTML (Trident) browser engine.
- Jint: Javascript interpreter with integrated engine for .NET
- KJS: The engine used in Konqueror, and one component of KHTML, a predecessor to JavaScriptCore.
- Linear B: The ECMAScript engine of the Opera web browser versions 7.0 to 9.50, exclusive.
- Narcissus: JavaScript implemented in JavaScript (a meta-circular evaluator), intended to run in another JavaScript engine, of theoretical and educational nature only.
- JS-Interpreter A lightweight JavaScript interpreter implemented in JavaScript with step-by-step execution.
- QtScript: Originally developed by Trolltech, now owned by The Qt Company. It provides QObject integration with JavaScriptCore.
- V4 (QJSEngine): Qt's newer ECMAScript engine, powering QML and QtQuick. ES6-compliant and under active development at The Qt Company. V4 is JIT compiled.[13]
- Rhino: One of several JavaScript engines from Mozilla, using the Java platform.
- YAJI: An ECMAScript engine based on the FESI implementation by Jean-Marc Lugrin in 1999, using the Java platform, currently being developed to support the latest standards (ECMAScript spec. 262, v5.1).[14] [15] [16]
- Microvium: JavaScript engine for microcontrollers, supporting a restricted subset of the ECMAScript specification, using less than 16kB of flash memory and 64B of RAM while idle.[17]
- Duktape: A small footprint, easily embeddable Ecmascript E5/E5.1 engine.[18]
- XS JavaScript Engine: An ECMAScript 2020-compliant engine for microcontrollers with limited resources.[19] [20] XS is maintained by Moddable as part of the Moddable SDK and was formerly part of the Kinoma Platform.[21]
- Jsish: An ES5.1 subset interpreter with builtin SQLite, JSON, WebSocket, and ZVFS support.[22]
- Espruino: A very small footprint interpreter specifically for microcontrollers. Can run in less than 8 kB of RAM by executing from source (rather than bytecode).
- MuJS: A lightweight ECMAScript interpreter library, designed for embedding in other software to extend them with scripting capabilities. Originally developed for MuPDF.[23]
- mJS: Restricted JavaScript engine. Used for Internet of Things (IoT).
- Tiny-JS: A minimal JavaScript interpreter written in C++.
- JerryScript: A lightweight JavaScript engine by Samsung for microcontrollers with less than 64 KB RAM.
- njs: A lightweight JavaScript interpreter optimized for web server scripting and fastest VM context creation; used in nginx.[24]
- QuickJS: A lightweight ECMAScript 6 interpreter by Fabrice Bellard and Charlie Gordon.
- engine262: A JavaScript engine written in JavaScript for development and exploration. It is primarily used to validate the ECMAScript specification.
- Boa: A JavaScript engine written in Rust.[25] [26]
- ScriptEase: an old proprietary engine last updated in 2003. Only notable for its use in the James Webb Space Telescope.[27]
- LibJS: JavaScript engine of the SerenityOS and Ladybird projects.[28] Initially it was an AST interpreter, but has been upgraded to a bytecode-based one.[29] At some point, the lead developer Andreas Kling added just-in-time compilation (for x86-64 architecture), but he later changed his mind and removed the mechanism, citing development/debugging issues while also saying that he is interested to see how far utility and usability of the engine can go without it.
See also
Notes and References
- Web site: Carakan . 2009-07-09 . https://web.archive.org/web/20090531095136/http://labs.opera.com/news/2009/02/05/ . 2009-05-31 . dead .
- Web site: Opera Desktop Team's Blog | Opera. https://web.archive.org/web/20060303160759/http://my.opera.com/desktopteam/blog/. 2006-03-03.
- Web site: Dev.Opera — Blog. dev.opera.com.
- Web site: Targeting Edge vs. Legacy Engines in JsRT APIs. 10 September 2015.
- Web site: JavaScriptCore – WebKit.
- Web site: Oracle Nashorn: A Next-Generation JavaScript Engine for the JVM.
- Web site: Constellation/iv. GitHub. 2015-11-15.
- Web site: CL-JavaScript. 2018-09-14.
- Web site: Support me. GitHub. 18 November 2021.
- Web site: Using Hermes . Facebook . 9 April 2021.
- Web site: ECMAScript 2015 Language Specification – ECMA-262 6th Edition .
- Web site: An ES6 Virtual Machine Built in JavaScript . 2012-12-01 . https://web.archive.org/web/20121203041426/http://benvie.github.com/continuum/ . 2012-12-03 . dead .
- Web site: V4 - Qt Wiki. 2021-04-24. wiki.qt.io.
- Web site: ECMAScript Language Specification ECMA-262 5.1 edition . June 2011 . Ecma International . 2012-01-31 . https://web.archive.org/web/20150412040502/http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf . 2015-04-12 . dead .
- Web site: YAJI: Yet Another JavaScript Interpreter . Google Code . 2012-01-31.
- Web site: FESI. September 2003. 2012-08-06. https://web.archive.org/web/20120906033028/http://www.lugrin.ch/fesi/. 2012-09-06. dead.
- Web site: Microvium is very small . 11 June 2022 . 23 August 2022.
- Web site: Duktape . 2013-09-21.
- Web site: moddable/documentation/xs/XS Conformance.md at public . GitHub.
- Web site: Apps for IoT. dead . https://web.archive.org/web/20181228063939/http://www.moddable.com/faq.php . 2018-12-28 .
- Web site: Xs7 @ Tc-39 .
- Web site: Jsish . 2014-04-30.
- Web site: MuJS . 2014-09-22.
- Web site: NGINX JavaScript in Your Web Server Configuration . https://ghostarchive.org/varchive/youtube/20211213/Jc_L6UffFOs . 2021-12-13 . live. . 2018-10-30.
- Web site: Let's build a JavaScript Engine . 2022-03-23 . 2019.jsconf.eu . en.
- Web site: GitHub - boa-dev/boa: Boa is an embeddable and experimental Javascript engine written in Rust. . 2022-04-08 . github.com . en.
- Web site: Clark . Mitchell . 2022-08-18 . The James Webb Space Telescope runs JavaScript, apparently . 2022-09-02 . The Verge . en.
- Web site: LibJS JavaScript engine . 2023-06-30 . libjs.dev.
- Web site: LibJS: Rip out the AST interpreter :^) · LadybirdBrowser/ladybird@2eaa528 . 2024-07-10 . GitHub . en.