5 ms·
This is flatly false. There are numerous programming environments available on iOS, and it has the JavaScript environment with the most advanced available JIT
by gress 11y ago
This is flatly false. There are numerous programming environments available on iOS, and it has the JavaScript environment with the most advanced available JIT built in.
- striking 11y agoWrong. https://www.bignerdranch.com/blog/javascriptcore-example/ https://www.bignerdranch.com/blog/javascriptcore-example/ JavaScriptCore is what Apple uses for built in JS evaluation, and V8 can't be implemented due to lack of execution of code from user-writable memory. JSC most definitely does not have the "most advanced available JIT."
- comex 11y agoDepends on the benchmark. It's certainly competitive. For example: http://arewefastyet.com/#machine=29 http://arewefastyet.com/#machine=29
- striking 11y agoRight, it's competitive... But being competitive and "most advanced", to me, are two different things. Not knocking Safari's performance, the battery life you get from it kicks butt. Still, different. (Also, wow. Comex replied to me. Very cool.)
- comex 11y agoI mean, there's definitely a good argument that V8 is most advanced, but, for example, JSC is the only one that has the LLVM 'fourth tier', and it shows on asm.js benchmarks, where it mostly beats V8 (loses to Firefox, but that has asm.js-specific code while the others don't): http://arewefastyet.com/#machine=29&view=breakdown&suite=asmjs-apps http://arewefastyet.com/#machine=29&view=breakdown&suite=asm... So I think the question of "most advanced" is basically subjective. Don't get me wrong! I would strongly prefer if iOS allowed any JIT to be used. I just think calling the one that can be used "most advanced" is not wrong per se.
- striking 11y agoWell said. Thanks for the insight.