4 ms·
Neat! Is the iOS 7 JavaScriptCore V8? It can't be, though right? Safari?
by zekenie 13y ago
Neat! Is the iOS 7 JavaScriptCore V8? It can't be, though right? Safari?
- srijs 13y agoJavaScriptCore is a cross-platform javascript engine on it's own that is used by default in WebKit browsers (Safari, Mobile Safari, Konqueror, etc.). The new thing on iOS 7 is that this framework is exposed as a public API you can code against. So you don't have to initialize a heavy-weight WebView just to execute Javascript.
- zw 13y agoSafari gets Nitro, Apple's JIT, but historically it has been unavailable to apps (via UIWebView) for security reasons. I'm unsure if the new Objective-C JavaScriptCore API gets Nitro.
- robterrell 13y agoIIRC the JIT requires an entitlement that (so far) non-Apple apps can't get, even with iOS 7's JSC.