Note that to get good performance you'll need to host the JS/HTML in a WKWebView, not UIWebView. (The older UIWebView disables the JIT compiler.) With WKWebView you should get about the same performance as in Safari, which is pretty decent on 64-bit (A7 and later CPUs).
-- brion On Wed, Sep 16, 2015 at 6:43 AM, Stéphane Letz <[email protected]> wrote: > Then could the WebKit asm.js engine be used be a "home made application" > (not Safari…), so to run our own generated asm.js code? > > Thanks. > > > Le mercredi 16 septembre 2015 14:51:36 UTC+2, jj a écrit : >> >> Yes, since asm.js is just a flavor of standard JavaScript, asm.js code >> can run on iOS browsers. >> >> There exists a WebKit blog entry about their FTL JIT, which optimizes for >> asm.js style of code: >> https://www.webkit.org/blog/3362/introducing-the-webkit-ftl-jit/ . >> Safari 8 should have that enabled (as well as having WebGL enabled) >> >> 2015-09-16 13:43 GMT+03:00 Stéphane Letz <[email protected]>: >> >>> Hi, >>> >>> Can asm.js code be run on iOS ? (Safari ? Chrome? anything else?) >>> >>> Thanks. >>> >>> Stéphane Letz >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "emscripten-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
