Adam D. Ruppe:

If it compiles to any kind of javascript it is a mistake to think they'll be a performance boost over just writing javascript, with or without annotations.

The Box3D compiled by Emscripten from C++ code is faster than other translations of Box3D to JavaScript written by more traditional means. Probably because the code produced by Emscripten is very un-idiomatic JS, hard to write manually.

And here we are talking about a version of Emscripten that targets asm.js, that a new JIT of Firefox Nightly digests better.

Bye,
bearophile

Reply via email to