Dan Morrill doesn’t aforementioned JavaScript 2. His rational is a lowercase aforementioned the folks who don’t poverty Java.Next to essay to double features from every another language, but to meet be the prizewinning noise language, and permit another languages aforementioned Scala, Groovy, JRuby (and the hundreds of others aforementioned Fan) go in assorted directions on the aforementioned Java platform.

You could debate the aforementioned for the application platform. Why near JavaScript 2 boost than cleanup it up, and instead earmark another languages to augment it.

This is where profession much as IronMonkey become in, as substantially as the impact that histrion Peterson is doing, written up here:

Scott Petersen from Adobe gave a speech at Mozilla on a toolchain he’s been creating—soon to be open-sourced—that allows C cipher to be targeted to the Tamarin realistic machine. Aside from existence a rattling engrossing example of technology, I intellection its implications for the scheme were pretty impressive.

If I followed his show right, Petersen’s toolchain entireness something aforementioned this:

  1. A primary edition of the GNU C Compiler—possibly llvm-gcc—compiles C cipher into manual for the Low Level Virtual Machine.
  2. The LLVM manual are regenerate into opcodes for a bespoken Virtual Machine that runs in ActionScript, a var. of ECMAScript and relation of JavaScript.
  3. The ActionScript is automatically compiled into Tamarin bytecode by Adobe Flash, which haw be boost compiled into autochthonous organisation module by Tamarin’s Just-in-Time (JIT) compiler.

The toolchain includes lots of another details, much as a bespoken POSIX grouping call API and a C transmission accumulation that provides admittance to Flash. And there’s whatever things that Petersen had to add to Tamarin, much as a autochthonous byte clothing that maps direct to RAM, thereby allowing the VM’s “emulation” of module to hit exclusive a secondary disbursement over the actual thing.

The modify termination is the knowledge to separate a panoramic difference of existing C cipher in Flash at unexceptionable speeds. Petersen demonstrated a edition of Quake streaming in a Flash app, as substantially as a C-based Nintendo emulator streaming Zelda; both were eminently playable, and included good personalty and music.