pls someone already ban these "performance trolls".
anyway - profitability is not ultra high mega giga whatever someone said - because it's a html 5 game engine. that means - no real native performance ever. even cocoon isn't native. it's a wrapper, but a better one then crosswalk.
if you want real native performance for android pls go learn Java and DIY, whole engine and game all over again, we're tired of listening to your whines. if you want IOS - go learn XCODE and make native game with whole engine again.
c2 can't simply jump from HTML to C++ or Java (or both) because it would require starting from nothing to create engine (whole construct) in c++ or Java (or both) - to get native performance. so stop your whines for god sakes, because there will never be native on html. it simply doesn't exist.
now a couple of pics for you whiners to finally get it in your thick skulls:
http://www.ntu.edu.sg/home/ehchua/progr ... rocess.png < - this is a c++ generating code. you write your code, then you build it and an EXE pops out (step 1-4). After you run exe only 2 steps have to happen - loader and execution - that is native performance - when you load compiled code and it executes on cpu. simple as that.
and this is for C++.
now for javascript:
http://qph.is.quoracdn.net/main-qimg-ab ... _webp=true
when you write down your code it has to get INTERPRETED. that is different from COMPILE. when you get to execution step
the nature of javascript is dynamicall so it has an interpreter that will constantly generate new bytecode. that bytecode will again run into execution - therefore you have a step more then with compiling. now you're wondering what interprets javascript - our browser. and browser is a compiled exe. get why there is no native with javascript? it can be fast, it can be good - but native - never.
SO FOR THE LAST GOD DAMN TIME - STOP YOUR WHINES AND GO LEARN C++ OR JAVA IF C2 IS BAD TO YOU.