Date: 2015-11-14 Last Update: 2015-12-11
OS | Javascript engine |
---|---|
iOS | JavaScriptCore |
Android | V8? |
- Rhino - The most popular JavaScript Engine developed in Java, originally by Netscape, but now maintained by Mozilla. Unfortunately, its development is not very active, documentation at some points is inadequate and outdated, and the API is not very elegant.
- Nashorn - Another JavaScript engine developed in Java by Oracle. It was released along with Java 8 a few days ago. Oracle has open-sourced the project, but unfortunately, it cannot run on Android's Dalvik VM.
- V8 - The JavaScript engine developed in C++ by Google, which powers the Chrome and Chromium web-browsers, and other projects like node.js. Open-source project.
- SpiderMonkey - The first-ever JavaScript engine developed in C/C++, originally by Netscape, and now maintained by Mozilla. It powers the Firefox web-browser. Open-source project.
- JavaScriptCore (the JavaScript engine, not the iOS framework) - The JavaScript engine developed in C/C++ by Apple, Adobe and others, which powers the Safari web-browser (among others). It's part of the WebKit framework. Open-source project.
-
Android: Your JS Engine is not always V8 - 14 Jan 2011
- WebKit is different on every phone
- The Browser and the WebKit engine are different things.
- WebKit can have a different engine
-
Nitro JavaScript Engine in iOS PhoneGap Apps - June 8, 2013 (date by archive.org)
-
Part I: How to Choose a JavaScript Engine for iOS and Android Development - Jan 17th, 2013
-
10 very good reasons to stop using JavaScript - 2013/07/10
- JavaScript hurts your mobile visitors
- JavaScript hurts your robustness
- JavaScript hurts your security (and your privacy)
- JavaScript hurts your SEO
- JavaScript hurts your development time
- JavaScript hurts your testing costs
- JavaScript hurts your website performance
- JavaScript hurts your software investment
- JavaScript hurts your software architecture
- JavaScript is not needed
- JavaScript engine
- V8 (JavaScript engine)
- Developing a mobile cross-platform library - Part 3. JavaScript - 25 March 2014
Unfortunately, in Android, there is no such cool framework like JavaScriptCore, so we have to embed a JavaScript engine ourselves. The alternatives are