by blueblob · 13y ago · 0 comments
In addition, the full source code of Nontetris ( http://allievi.sssup.it/jacopone/cnontetris/ ) will be published in a couple of days, with a 'guide' on porting a C++ game to Javascript with duetto.
Stefano of Leaningtech
The perf comparison is missing a "asm.js + V8" bar, asm.js code is usually faster then non-asm.js code, even if the JS engine isn't implementing AoT compilation as FF does.
Edit: fixed "...uncommon -> common..." above
there are four important things required for this to work out:
- List of benefits of your solutions compared to other C++ → JS compilers (emscripten)
- Great documentation and good community support (forum, wiki, dynamic list of projects using Duetto)
- Very good debugging capabilities in the produced JS (Developers need to work with the code, an invisible layer sometimes means a lot of trouble)
- Big tech partners who will do complex projects with Duetto to iron-out the compiler and show "real work" can be done with it
rgds, Kira
Wow: and a minute after I typed this, my Windows machine gave me a blue screen, not sure if it's related but it's the first in years ;)