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

The difference is that iOS allows Mobile Safari to turn memory areas into code pages, which is what you need to do to JIT JavaScript. It doesn't trust other apps not to be able to exploit that somehow, so UIWebView is not allowed to do this.


Are you 100% sure?

I believe webkit (either in safari or UIWebView) should be able to run JIT, while your custom engine can't.


UIWebView doesn't support JS JIT, as it's still running in your process space.


thanks, didn't know that. this is really sad.


They would rather do that then open an exploit possibility. As a user, I prefer that trade-off. It would bother me if I relied on PhoneGap or something similar, but in practice, the performance really isn't that bad.


That explains a lot of things. Thank you.




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

Search: