# Mozilla's Asm.js Gets Another Step Closer To Native Performance

Mozilla's OdinMonkey module lets Firefox run asm.js code significantly faster than regular JavaScript, another step toward native-speed web apps.

Record as of 24 December 2013. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/1201433.json>

## Mozilla's Asm.js Gets Another Step Closer To Native Performance

*as of 24 December 2013; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

TechCrunch · Frederic Lardinois · [24 December 2013](/2013/12/24) · [Read original](http://techcrunch.com/2013/12/21/mozillas-asm-js-gets-another-step-closer-to-native-performance/)

[Mozilla](/entity/mozilla)'s asm.js is a strict subset of [JavaScript](/entity/javascript) that [Firefox](/entity/firefox) can run significantly faster than regular JavaScript code.  Thanks to the so-called [OdinMonkey](/search?q=%40%22OdinMonkey%22) module for Firefox's built-in JavaScript engine …

**Context**

[Mozilla](/entity/mozilla) has been building toward this for two years: [Firefox 9's JavaScript engine gains](/1193809) in late 2011 were an incremental tuning story, while asm.js — a strict, optimizable subset of [JavaScript](/entity/javascript) announced through Mozilla's fast-web-apps push — was the structural bet. By March 2013, [Google had shown interest in asm.js](/1199071), making it more than a one-browser experiment.

Today's news is that the [OdinMonkey](/search?q=%40%22OdinMonkey%22) module in [Firefox](/entity/firefox)'s SpiderMonkey engine takes asm.js another measurable step closer to native speed. The pickup across ZDNet, The Register, InfoWorld, and OStatic on the same day signals how closely the browser-performance crowd is tracking whether JavaScript can host compiled C/C++-class workloads.

*First-order effects*

- Developers shipping asm.js-targeted applications — games and ported native code above all — get significantly faster execution in Firefox without touching their source, since OdinMonkey does the optimization inside the engine.
- Firefox regains a headline performance differentiator over rival engines for a specific class of compute-heavy web apps, giving Mozilla a benchmark story it can market against Chrome and IE.

*Second-order effects*

- Google's earlier interest in asm.js now faces a proof point: with Firefox demonstrating real gains, Chrome's V8 team is under visible pressure to either optimize the subset or argue its own JIT pipeline makes it unnecessary.
- Toolchain authors compiling C and C++ to JavaScript gain a credible deployment target, shifting effort toward emitting asm.js-style code rather than hand-tuned generic JS.

*Third-order effects*

- If other engines follow where OdinMonkey leads, the browser consolidates its role as an application platform competitive with native runtimes — with the open question being whether a single-vendor optimization like OdinMonkey converges into a cross-browser standard or fragments into engine-specific fast paths.
- A validated fast-subset approach gives standards bodies a template for formalizing what today is a de facto convention, reshaping how the web platform absorbs low-level workloads.

**The trend:** Browser makers are closing the gap between JavaScript and native code by specializing engines around strict subsets of the language, turning JavaScript performance into the new front of the browser wars.

Related: [JavaScript](/entity/javascript) · [OdinMonkey](/search?q=%40%22OdinMonkey%22) · [Firefox](/entity/firefox) · [Mozilla](/entity/mozilla) · [Google shows interest in ASM.js](/1199071)

**Entities**

- [Firefox](/entity/firefox)
- [Mozilla](/entity/mozilla)
- [OdinMonkey](/search?q=%40%22OdinMonkey%22)
- [JavaScript](/entity/javascript)

**Related coverage**

- [ZDNet](http://www.zdnet.com/javascript-spin-off-asm-js-brings-web-even-closer-to-native-performance-7000024547/)
- [The Register](http://www.theregister.co.uk/2013/12/20/native_code_no_its_javascript_only_its_blazing_fast/)
- [InfoWorld](http://www.infoworld.com/t/javascript/asmjs-javascript-subset-picks-the-pace-against-cc-233076)
- [OStatic blogs](http://ostatic.com/blog/mozilla-focuses-on-technology-to-speed-up-web-apps-and-games)
- [ZDNet](http://www.zdnet.com/) · ZDNet · Nick Heath
- [The Register](http://www.theregister.co.uk/) · The Register · Neil McAllister
- [InfoWorld](http://infoworld.com/) · InfoWorld · Robert X. Cringely
- [OStatic blogs](http://ostatic.com/blog) · OStatic blogs · Sam Dean

**Relationships**

- [Mozilla](/entity/mozilla) competitor [asm.js](/search?q=%40%22asm.js%22), [native code](/search?q=%40%22native+code%22) · confirmed · Mozilla reports its asm.js JavaScript subset is getting another step closer to native performance in Firefox.
- [Mozilla](/entity/mozilla) launch [OdinMonkey](/search?q=%40%22OdinMonkey%22), [Firefox](/entity/firefox) · confirmed · Firefox's built-in JavaScript engine gains the OdinMonkey module to run asm.js code significantly faster than regular JavaScript.

**Similar stories**

- [Surprise!  Mozilla can produce near-native performance on the Web](https://texxr.com/1283342/mozilla-tests-near-native-web-performance) · Ars Technica, 23 May 2013 · [publisher](<http://arstechnica.com/information-technology/2013/05/native-level-performance-on-the-web-a-brief-examination-of-asm-js/>) · 85%
- [Firefox Nightly Now Includes OdinMonkey, Brings JavaScript Closer To Running At Native Speeds](https://texxr.com/1262211/firefox-adds-odinmonkey-javascript-engine) · TechCrunch, 22 March 2013 · [publisher](<http://techcrunch.com/2013/03/21/firefox-nightly-now-includes-odinmonkey-brings-javascript-performance-closer-to-running-at-native-speeds/>) · 74%
- [Google shows interest in ASM.js, Mozilla's plan for fast Web apps](https://texxr.com/1199071/google-expresses-interest-in-asmjs) · CNET, 29 March 2013 · [publisher](<http://news.cnet.com/8301-1023_3-57576903-93/google-shows-interest-in-asm.js-mozillas-plan-for-fast-web-apps/>) · 65%
- [TraceMonkey: JavaScript Lightspeed](https://texxr.com/1251121/tracemonkey-launches-javascript-performance-engine) · Brendan's Roadmap Updates, 22 August 2008 · [publisher](<http://weblogs.mozillazine.org/roadmap/archives/2008/08/tracemonkey_javascript_lightsp.html>) · 61%
- [Apple working on a JavaScript accelerator for WebKit which doesn't require the use of asm.js](https://texxr.com/1204207/apple-develops-javascript-accelerator) · InfoWorld, 12 May 2014 · [publisher](<http://www.infoworld.com/t/javascript/apple-has-its-own-javascript-accelerator-in-the-works-242042>) · 61%
- [Mozilla releases Firefox 52 with WebAssembly, a new standard that lets web apps run in a browser at near-native speeds, disables all NPAPI plugins except Flash](https://texxr.com/917131/mozilla-releases-firefox-52-with-webassembly) · ZDNet, 8 March 2017 · [publisher](<http://www.zdnet.com/article/firefox-52-brings-desktop-apps-to-the-web-but-could-break-your-google-hangouts/>) · 57%
- [Fasten Your Seatbelts - Firefox 4 Beta adds new JavaScript power and faster graphics](https://texxr.com/1274832/firefox-4-beta-boosts-performance) · The Mozilla Blog, 11 November 2010 · [publisher](<http://blog.mozilla.com/blog/2010/11/10/fasten-your-seatbelts-latest-firefox-4-beta-boosts-speed-in-the-browser/>) · 55%
- [Firefox 18 gets up to 25% faster JavaScript with IonMonkey, built-in PDF viewer, and Retina support](https://texxr.com/1247206/firefox-18-launches-ionmonkey-faster-javascript-retina) · The Next Web, 8 January 2013 · [publisher](<http://thenextweb.com/apps/2013/01/08/firefox-18-debuts-with-faster-ionmonkey-enabled-javascript-built-in-pdf-viewer-and-retina-support/>) · 54%
- [JavaScript decoder lets MP3s play in Firefox without Flash](https://texxr.com/1291682/javascript-plays-mp3s-without-flash) · Geek.com, 18 June 2011 · [publisher](<http://www.geek.com/articles/chips/javascript-decoder-lets-mp3s-play-in-firefox-without-flash-20110617/>) · 53%
- [Mozilla announces Project Quantum, an effort to develop a faster browser engine that will power Firefox beginning in 2017](https://texxr.com/876877/mozilla-launches-project-quantum-for-firefox) · CNET, 30 October 2016 · [publisher](<http://www.cnet.com/news/firefox-quantum-mozilla-faster-web-gecko-engine/>) · 53%
- [Firefox 9 unofficially released, JavaScript performance improved by 20-30%](https://texxr.com/1193809/firefox-9-improves-javascript-performance) · ExtremeTech, 19 December 2011 · [publisher](<http://www.extremetech.com/computing/109707-firefox-9-released-javascript-performance-improved-by-20-30>) · 53%
- [Firefox Beta Now Features New IonMonkey JavaScript Compiler, Built-In PDF Viewer, Retina and Touch Support](https://texxr.com/1198348/firefox-beta-adds-ionmonkey-pdf-retina-and-touch) · TechCrunch, 26 November 2012 · [publisher](<http://techcrunch.com/2012/11/26/firefox-beta-now-features-new-ionmonkey-javascript-compiler-built-in-pdf-viewer-retina-and-touch-support/>) · 52%
- [Introducing SquirrelFish Extreme](https://texxr.com/1241699/squirrelfish-launches-extreme-js-engine) · Surfin' Safari, 19 September 2008 · [publisher](<http://webkit.org/blog/214/introducing-squirrelfish-extreme/>) · 52%
- [Mozilla releases Firefox 84 with native support for Apple M1 Macs, saying the browser launches over 2.5 times faster and web apps are now twice as responsive](https://texxr.com/961092/mozilla-releases-firefox-84-with-m1-support) · MacRumors, 16 December 2020 · [publisher](<https://www.macrumors.com/2020/12/15/firefox-now-natively-supports-m1-macs/?scrolla=5eb6d68b7fedc32c19ef33b4>) · 52%
- [Google says Chrome 91 has 23% faster performance thanks to Sparkplug, a new non-optimizing compiler for its V8 JavaScript engine](https://texxr.com/966859/google-rolls-out-sparkplug-for-chrome-91) · ZDNet, 29 May 2021 · [publisher](<https://www.zdnet.com/article/googles-chrome-browser-is-about-to-get-a-lot-faster/>) · 51%
- [Mozilla: Our browser will not run native code](https://texxr.com/1260480/mozilla-rejects-native-code-browser) · The Register, 25 June 2010 · [publisher](<http://www.theregister.co.uk/2010/06/24/jay_sullivan_on_firefox/>) · 51%
- [Mozilla releases Rust 0.1, the language that will eventually usurp Firefox's C++](https://texxr.com/1194207/mozilla-releases-rust-0-1) · ExtremeTech, 24 January 2012 · [publisher](<http://www.extremetech.com/computing/115207-mozilla-releases-rust-0-1-the-language-that-will-eventually-usurp-firefoxs-c>) · 50%
- [Chrome speeds up web apps by compiling JavaScript in the background](https://texxr.com/1202560/chrome-compiles-javascript-in-background) · CNET, 14 February 2014 · [publisher](<http://news.cnet.com/8301-1023_3-57618868-93/google-under-the-hood-change-helps-web-apps-on-chrome/>) · 50%
- [All major browsers now support the WebAssembly standard, the binary format for the web introduced in 2015](https://texxr.com/924079/webassembly-now-supported-by-all-major-browsers) · BleepingComputer.com, 15 November 2017 · [publisher](<http://www.bleepingcomputer.com/news/security/all-major-browsers-now-support-webassembly/>) · 50%
- [Firefox 3 Performance Numbers](https://texxr.com/1289794/firefox-3-performance-numbers-released) · Ajaxian, 29 February 2008 · [publisher](<http://ajaxian.com/archives/firefox-3-performance-numbers>) · 50%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 24 December 2013; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
