Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't JS performance going to suffer if it's using a custom build of JSC that can't JIT?


Yes. 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-javascriptcor...


Native iOS doesn't have JIT


The browser certainly does. Or is this only an alternative to a WebView in an app store app?


even google wasn't able to include a JIT in Chrome for iOS


Safari 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.


There's even a massive JIT vulnerability in webkit on iOS at the moment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: