|
The biggest addition in Firefox 18 is Mozilla’s new JavaScript JIT compiler called IonMonkey. This promises a noticeable performance improvement whenever Firefox is displaying Web apps, games, and other JavaScript-heavy pages.
IonMonkey provides a brand new architecture that allows for optimizations to be introduced into JavaScript JIT compilation. It differs from previous compilers by including an intermediate representation (IR) and has three steps:
- Translate JavaScript to an intermediate representation (IR).
- Run various algorithms to optimize the IR.
- Translate the final IR to machine code.
The optimizations include:
- Loop-Invariant Code Motion (LICM), or moving instructions outside of loops when possible.
- Sparse Global Value Numbering (GVN), a powerful form of redundant code elimination.
- Linear Scan Register Allocation (LSRA), the register allocation scheme used in the HotSpot JVM (and until recently, LLVM).
- Dead Code Elimination (DCE), removing unused instructions.
- Range Analysis; eliminating bounds checks
The code generation works for x86 both 32bit and 64 bit and for ARM.
The new design is similar to the techniques used in Chrome's Crankshaft JavaScript engine and should make the two similar in JavaScript performance.
Other new features in Firefox 18 are:
- Retina Display Support for Mac users to make Firefox even sharper when watching movies, playing games and browsing the Web.
- A facility to disable insecure content on HTTPS secure websites to maintain the privacy of your communication with the website. You can enable the feature in about:config.
- Support for standard W3C touch events in addition to MozTouch events.

Google Takes On Ad-Blocker Microsoft 16/05/2013
What seems like a small spat between Google and Microsoft over a new You Tube app for WP8 is actually a lesson to all of us, and might set a precedent in a much wider context.
|
AWS SDK for Node.js Released 13/05/2013
Amazon has released the AWS SDK for Node.js for creating server-side apps in JavaScript to run on Amazon’s cloud.
| | More News |
|