Linked by Thom Holwerda on Thu 28th Mar 2013 01:42 UTC
3D News, GL, DirectX "Today, we are excited to unlock this technology for high-performance games, by teaming up with Epic Games. By leveraging this new JavaScript optimization technology, Mozilla has been able to bring Epic's Unreal Engine 3 to the Web. With this port, developers will soon be able to explore limitless possibilities when it comes to porting their popular gaming titles to the Web."
Permalink for comment 556917
To read all comments associated with this story, please click here.
RE: great video, but where is it?
by ssokolow on Thu 28th Mar 2013 10:20 UTC in reply to "great video, but where is it?"
ssokolow
Member since:
2010-01-21

Did you click the link to this page?

https://blog.mozilla.org/luke/2013/03/21/asm-js-in-firefox-nightly/

You'll need Firefox 22 so, currently, a Nightly build from http://nightly.mozilla.org/

Once you've got that, you can either try one of their benchmarks:

http://kripken.github.com/misc-js-benchmarks/banana/benchmark.html

http://kripken.github.com/ammo.js/examples/new/ammo.html

(Note: BananaBench runs with a fixed time step to make JS execution deterministic, so game speed will run fast/slow, depending on your hardware/browser.)


...or you can download emscripten and compile something of your own:

https://github.com/kripken/emscripten/wiki/Tutorial

(Make sure you read the instructions on enabling asm.js mode in the optimization section of the emscripten tutorial)

James Long has also whipped up a fork of LLJS that'll compile to asm.js as he explains here:

http://jlongster.com/Compiling-LLJS-to-asm.js,-Now-Available-?hn

Edited 2013-03-28 10:32 UTC

Reply Parent Score: 3