5 ms·
Isn't JS performance going to suffer if it's using a custom build of JSC that can't JIT?
by kevingadd 14y ago
Isn't JS performance going to suffer if it's using a custom build of JSC that can't JIT?
- killahpriest 14y agoNative iOS doesn't have JIT
- kevingadd 14y agoThe browser certainly does. Or is this only an alternative to a WebView in an app store app?
- vicapow 14y agoeven google wasn't able to include a JIT in Chrome for iOS
- mamp 14y agoSafari uses a JIT. Other browsers and UIWebView based applications are not allowed to access the JIT, apparently because it is a security risk. Even lua based apps are not allowed to run luajit because code generation on iOS isn't allowed within apps.
- dutchbrit 14y agoThere's even a massive JIT vulnerability in webkit on iOS at the moment.
- phoboslab 14y agoYes. I wish we could use the JIT – it would make computational heavy stuff way faster. Most games however aren't performance bound by computation, but by drawing. Not having the JIT isn't as bad as it may seem. Also, JavaScriptCore recently features a new "low level interpreter" – still not as fast as the JIT, but way faster than it was a few month ago: http://wingolog.org/archives/2012/06/27/inside-javascriptcores-low-level-interpreter http://wingolog.org/archives/2012/06/27/inside-javascriptcor...