Re:Mac Apps That Use Garbage Collection Must Move to ARC
by wging on Saturday February 21, 2015 @04:21PM
(#9086998)
For those who are wondering, you can still use an embedded webview, which does end up doing just-in-time compilation of javascript.
[ Parent
| on HN ]
Re:Mac Apps That Use Garbage Collection Must Move to ARC
by m_mueller on Saturday February 21, 2015 @08:49PM
(#9087846)
Isn't JIT deactivated in webviews? I'm not even entirely sure it's activated in JavascriptCore.
Re:Mac Apps That Use Garbage Collection Must Move to ARC
by snowwrestler on Saturday February 21, 2015 @09:28PM
(#9087919)
As of iOS 8, webviews have the same JavaScript engine as Safari does, called Nitro, which I believe does do JIT compilation of JavaScript.
Re:Mac Apps That Use Garbage Collection Must Move to ARC
by firloop on Sunday February 22, 2015 @04:41AM
(#9088870)
Well, UIWebView (the standard web view, pre iOS8) does not have Nitro, but WKWebView (introduced in iOS8) has Nitro. The only problem is that while they are similar, the WKWebview API is not feature complete with UIWebView, leading to a lack of adoption from big players such as Chromium.
[0]: https://code.google.com/p/chromium/issues/detail?id=423444