3 ms·
> The big issue, as I understand it, is JIT. You can run any browser engine you like on iOS, but only WebKit (its JavaScriptCore component) is allowed to JIT Ja
by yamtaddle 4y ago
> The big issue, as I understand it, is JIT. You can run any browser engine you like on iOS, but only WebKit (its JavaScriptCore component) is allowed to JIT JavaScript. Without JIT, the JavaScript performance will be bad; and considering the contemporary JavaScript-heavy nature of the web, that makes any alternative browser engine a non-starter.
IDK how it is now, but Apple used not to allow e.g. alternative Javascript engines in apps—you had to use Webkit's.
Having developed an app-building engine for Android in the days when some vendors shipped different engines to supply webview functionality (is that a thing? I actually don't know if they ever stopped) I can say I'm extremely in favor of this part of their policy. God that was a pain in the ass.
- skissane 4y ago> IDK how it is now, but Apple used not to allow e.g. alternative Javascript engines in apps—you had to use Webkit's. App Store guidelines say you have to use WebKit JavaScript for web browsing. I believe you are allowed to use third-party JavaScript for non-web-related purposes. That’s a rather small use case though. Also, we have to distinguish between App Store policy and technical constraints. If you are just running your own software (e.g. developer, adhoc distribution, enterprise distribution), you don’t need to care about the former only the later-lack of entitlements to JIT is still an issue for the later.