Jump to content

List of ECMAScript engines: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Added GitHub repo link
Citation bot (talk | contribs)
Alter: title. | Use this bot. Report bugs. | Suggested by BrownHairedGirl | Linked from User:BrownHairedGirl/Articles_with_bare_links | #UCB_webform_linked 1721/2846
Line 56: Line 56:
* engine262: A JavaScript engine written in JavaScript for development and exploration. It is primarily used to validate the ECMAScript specification.
* 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 (programming language)|Rust]].<ref>
* Boa: A JavaScript engine written in [[Rust (programming language)|Rust]].<ref>
{{Cite web |title=Let’s build a JavaScript Engine |url=https://2019.jsconf.eu/jason-williams/lets-build-a-javascript-engine.html |access-date=2022-03-23 |website=2019.jsconf.eu |language=en}}</ref><ref>{{Cite web |title=GitHub - jasonwilliams/boa: Boa is an embeddable and experimental Javascript engine written in Rust. |url=https://github.com/jasonwilliams/boa |access-date=2022-04-08 |website=github.com |language=en}}
{{Cite web |title=Let's build a JavaScript Engine |url=https://2019.jsconf.eu/jason-williams/lets-build-a-javascript-engine.html |access-date=2022-03-23 |website=2019.jsconf.eu |language=en}}</ref><ref>{{Cite web |title=GitHub - jasonwilliams/boa: Boa is an embeddable and experimental Javascript engine written in Rust. |url=https://github.com/jasonwilliams/boa |access-date=2022-04-08 |website=github.com |language=en}}
</ref>
</ref>



Revision as of 05:46, 7 May 2022

An ECMAScript engine is a program that executes source code written in a version of the ECMAScript language standard, for example, JavaScript.

ECMAScript Engines

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.

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.[13] Uniquely, the engine is implemented in ECMAScript 3, which made it possible to run ES2015 in browsers as old as IE6.[14]
  • 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.
  • 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.[15]
  • 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).[16][17][18]
  • Duktape: A small footprint, easily embeddable Ecmascript E5/E5.1 engine.[19]
  • XS JavaScript Engine: An ECMAScript 2020-compliant engine for microcontrollers with limited resources.[20][21] XS is maintained by Moddable as part of the Moddable SDK and was formerly part of the Kinoma Platform.[22]
  • Jsish: An ES5.1 subset interpreter with builtin SQLite, JSON, WebSocket, and ZVFS support.[23]
  • Websocket.js: An embeddable Javascript engine with HTTP/Websocket support.[24]
  • 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.[25]
  • 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.
  • GNU Guile features an ECMAScript interpreter as of version 1.9
  • njs: A lightweight JavaScript interpreter optimized for web server scripting and fastest VM context creation; used in nginx.[26]
  • 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.[27][28]

See also

References

  1. ^ "Archived copy". Archived from the original on 2009-05-31. Retrieved 2009-07-09.{{cite web}}: CS1 maint: archived copy as title (link)
  2. ^ "Opera Desktop Team's Blog | Opera". Archived from the original on 2006-03-03.
  3. ^ "Dev.Opera — Blog".
  4. ^ "Dev.Opera — Blog".
  5. ^ Frequently Asked Questions, Microsoft, 2010-03-13, archived from the original on 2010-03-22, retrieved 2010-03-18
  6. ^ "Targeting Edge vs. Legacy Engines in JsRT APIs". Retrieved 10 September 2015.
  7. ^ "JavaScriptCore – WebKit".
  8. ^ "Oracle Nashorn: A Next-Generation JavaScript Engine for the JVM".
  9. ^ "Constellation/iv". GitHub. Retrieved 2015-11-15.
  10. ^ "CL-JavaScript". Retrieved 2018-09-14.
  11. ^ "Support me". GitHub. 18 November 2021.
  12. ^ "Using Hermes". Facebook. Retrieved 9 April 2021.
  13. ^ http://www.ecma-international.org/ecma-262/6.0/
  14. ^ "An ES6 Virtual Machine Built in JavaScript". Archived from the original on 2012-12-03. Retrieved 2012-12-01.
  15. ^ "V4 - Qt Wiki". wiki.qt.io. Retrieved 2021-04-24.
  16. ^ "ECMAScript Language Specification ECMA-262 5.1 edition" (PDF). Ecma International. June 2011. Archived from the original (PDF) on 2015-04-12. Retrieved 2012-01-31.
  17. ^ "YAJI: Yet Another JavaScript Interpreter". Google Code. Retrieved 2012-01-31.
  18. ^ "FESI". September 2003. Archived from the original on 2012-09-06. Retrieved 2012-08-06.
  19. ^ "Duktape". Retrieved 2013-09-21.
  20. ^ https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/xs/XS%20Conformance.md#results
  21. ^ "Apps for IoT". Archived from the original on 2018-12-28.
  22. ^ https://www.moddable.com/XS7-TC-39
  23. ^ "Jsish". Retrieved 2014-04-30.
  24. ^ "Websocket.js". GitHub. Retrieved 2014-07-16.
  25. ^ "MuJS". Retrieved 2014-09-22.
  26. ^ "NGINX JavaScript in Your Web Server Configuration". YouTube. Archived from the original on 2021-12-13. Retrieved 2018-10-30.
  27. ^ "Let's build a JavaScript Engine". 2019.jsconf.eu. Retrieved 2022-03-23.
  28. ^ "GitHub - jasonwilliams/boa: Boa is an embeddable and experimental Javascript engine written in Rust". github.com. Retrieved 2022-04-08.