11 ms·
As far as I know, JIT is disabled on iOS at the moment, so one thing developers would notice right away is abysmal JavaScript performance. (Early versions of V8
by lxgr 4y ago
As far as I know, JIT is disabled on iOS at the moment, so one thing developers would notice right away is abysmal JavaScript performance. (Early versions of V8 didn't even have an interpreting or bytecode path, to my knowledge, so it wouldn't even run without major modifications!)
- meindnoch 4y ago>so one thing developers would notice right away is abysmal JavaScript performance That's actually a good thing! If a substantial chunk of iOS users would use third-party browsers without JS JIT, then webdevs would be forced to better optimize their sites, because the perf ceiling would be lower on these browsers. This then would lead to stellar performance for those who stick with Safari which does have JIT! Kind of how using an M1 is so good today, because there's still a large number of Intel machines out there, so devs can't yet afford releasing software that's only usable on M1 from a cpu/energy point of view.
- lxgr 4y agoNot sure if you’re kidding, but if not – why would users switch in the first place, if that means abysmal performance?
- meindnoch 4y agoBecause Google would be pushing it hard? E.g. when you click a link in the YouTube app, it doesn't open it in Safari, rather it shows you a "helpful" dark-pattern prompt about opening it with: - Chrome (mind you, I don't have it installed, so this would send me to the AppStore) - the "Google" app (again, not installed) - Safari (which does not open Safari, rather an in-app WKWebView, so that Sundar can still milk your precious eyeballs) - and finally at the bottom the "Default browser app" (this is what you want) Of course, there's no setting to save this choice once and for all, so this is done each and every time you try opening a link in the YouTube app. Wait, actually, I'm 99% sure it would suddenly remember your choice if you had installed one of their browsers. From that moment they would duly open all links in Chrome/Google, without this annoying prompt. I bet every Google app does this on iOS to get you install their crap. Disgusting practice.
- saagarjha 4y ago“Safari” has always opened in Safari for me.
- enkrs 4y agoThey're AB testing. Safari used to open Safari for me, but with a new phone now I too get the menu as described above.
- kitsunesoba 4y agoGoogle is incredibly aggressive in promoting Chrome yes, but every time I've seen "Safari" as an option in a Google app it isn't WKWebView, but SFSafariViewController which is for all intents and purposes real Safari — it's essentially an out-of-process Safari tab with its own separate cookies, storage, etc. Apps using it can't snoop on your browsing session and they can't dig around in your cookies, etc from standalone Safari.
- kergonath 4y agoIt’d be useful to see the difference clearly as a user. Personally I try really hard not to use any in-app browser because I have no clue how trustworthy the developer is (except for Facebook and Google, for which the answer is “absolutely not”).
- saagarjha 4y agoSFSafariViewController is very distinct. Apps can't really change its UI at all.
- CGamesPlay 4y ago> Of course, there's no setting to save this choice once and for all, so this is done each and every time you try opening a link in the YouTube app. To be clear, the one in GMail does have a "remember this" setting, and it doesn't work.
- dontlaugh 4y ago
- kgeist 4y ago>performance In 2021, Microsoft added the "no JIT" option to Edge for additional security [0], and here's the quote in their blog post: >We see that most tests see no changes with JIT disabled. There are a few improvements and regressions, but most tests remain unchanged. Anecdotally, we find that users with JIT disabled rarely notice a difference in their daily browsing [0] https://microsoftedge.github.io/edgevr/posts/Super-Duper-Secure-Mode https://microsoftedge.github.io/edgevr/posts/Super-Duper-Sec...
- lxgr 4y agoAh, good point – Apple has this too, on iOS [1]! [1] https://www.apple.com/newsroom/2022/07/apple-expands-commitment-to-protect-users-from-mercenary-spyware/ https://www.apple.com/newsroom/2022/07/apple-expands-commitm...
- bastawhiz 4y agoEven if Firefox and Chrome used Gecko and Blink with JSC, that's still a marked improvement from the state of things today. Most of what I dislike about Safari are its weird rendering issues, which would be solved.
- isodev 4y agoJust to be clear though, you will just be getting Blink/Gecko’s rendering issues instead.
- rattray 4y agoYou'd be getting the ability to choose which rendering issues you went to experience for any given website, which is actually quite useful.
- rektide 4y agoIdeally or potentially Firefoxes or potentially say Servos or any other browser of choice. As opposed to the very-low not-so-common denominator of this anti-invested in naughty stepchild of the Apple 30% rent-stealing profit-garden that is modern Apple.
- CitizenKane 4y agoWhich is true, but they're much less prominent overall. Mobile Safari is quirky to say the least and is truly the IE of the present day.
- isodev 4y agoAre they really? Safari is currently leading Interop 2022 https://wpt.fyi/interop-2022 https://wpt.fyi/interop-2022
- lxgr 4y agoGiven how vast the modern web specifications are, you could really be 99% compliant but provide a pretty mediocre experience to your users, or vice versa. For example, I use Firefox as my main browser, and the lack of e.g. proper WebAuthN support on macOS has a much, much higher impact to me (and is making me consider switching), whereas I couldn't care less about e.g. WebUSB (which I do occasionally use, but I'm fine switching to Chrome for that use case). To get an accurate picture, you'd have to somehow weigh all of these various standards and features in a way that not only accurately presents actual users, but also their relative importance (i.e. do websites trying to use something fail gracefully, or do I effectively have to use another browser to get achieve what I'm there for).
- liuliu 4y agoI think that you just need a special entitlement to enable w+x page. I could be wrong though, haven't dug too deep in this.
- rektide 4y agoHope so. There should be some developer capability somewhere. And we should build for the reasonable good future, & show whats possible. Not what we can mete from the iron mailed fist of Cupertino in the real world if this or that, but what actual good is. It'd be a mean spirited system to simply mark everything no-execute, always forever in any env. But that'd be distinct Apple flavored. Think Different, R.I.P..
- dmitriid 4y ago> And we should build for the reasonable good future, & show whats possible. Android is 70% worldwide market share. Chrome is 80%. What's stopping you from showing us this good future? Where are these glorious web apps?
- wahnfrieden 4y agono
- lxgr 4y agoThat's only officially available for macOS, I believe: https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-jit https://developer.apple.com/documentation/bundleresources/en... I've seen some reports of it also becoming available for iOS, but it seems to come and go between minor version upgrades and I'm not sure what the current status is.
- rattray 4y agoStupid question: does JSC have a JIT?
- sophiebits 4y agoYes. On iOS you can only use the JIT through an out-of-process web browser (WKWebView or SFSafariViewController) so it’s likely Firefox and Chrome would use non-JIT in-process engine (even if that were JSC!) unless the JIT restriction is lifted.