News for hackers. Stuff that matters.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by leotravis10 on Thursday October 05, 2023 @05:37PM (#37784601)
Although I appreciate Vivaldi for getting a iOS version out, do keep in mind that it's very inferior to Safari much like all non-Safari browsers on iOS running WebKit because of how very privileged Safari is and sadly their hands are very tied. The only hope is that the EU's DMA and DSA can allow third-party browsing engines on iOS eventually, and this release is a head start type of move toward that goal I feel.

Until that happens, Safari will always be the only browser that truly matters if you use a iOS device and that's a fact.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by freediver on Thursday October 05, 2023 @05:47PM (#37784692)
Can you give an example of such privileges?
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by leodriesch on Thursday October 05, 2023 @05:50PM (#37784716)
Support for web extensions as an example (Safari extensions)
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by lhnz on Thursday October 05, 2023 @06:01PM (#37784844)
Doesn't Kagi for iOS support web extensions already?
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by elashri on Thursday October 05, 2023 @06:14PM (#37784950)
Not yet. The support is very limited.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by heavyset_go on Thursday October 05, 2023 @06:16PM (#37784964)
Safari's rendering and JavaScript engines are the only ones allowed to run on, or be distributed to, iOS.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by freediver on Thursday October 05, 2023 @06:40PM (#37785163)
That is technically WebKit, which is open source.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by heavyset_go on Thursday October 05, 2023 @07:54PM (#37785708)
Try to bundle your own WebKit with an app and see what happens.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by dkonofalski on Thursday October 05, 2023 @05:48PM (#37784705)
That's not a fact. All browsers on iOS use the same rendering engine. The differences between them are all in the UI and other front-end features. That doesn't make Safari superior to them, especially since they're all starting off with the same base rendering. Anything outside of that can easily be better than Safari.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by gameoverhumans on Thursday October 05, 2023 @05:58PM (#37784805)
Rather than just downvote you for stating incorrect things with such conviction, I'll refer you to Apple's own website :)

https://support.apple.com/en-eg/guide/security/sec15bfe098e/...

> Memory pages marked as both writable and executable can be used only by apps under tightly controlled conditions: The kernel checks for the presence of the Apple-only dynamic code-signing entitlement. Even then, only a single mmap call can be made to request an executable and writable page, which is given a randomized address. Safari uses this functionality for its JavaScript Just-in-Time (JIT) compiler.

In other words, Apple only allows Apple to do Javascript JIT on iOS.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by btown on Thursday October 05, 2023 @06:10PM (#37784920)
While this is technically true, WKWebView (which I believe is used by all non-Apple browsers on iOS) does allow Javascript JIT, because the renderer runs in a subprocess with these permissions. See: https://news.ycombinator.com/item?id=19379739 .

But there are many other reasons besides JIT to want to have non-Apple-Webkit-based rendering engines (including wanting different JS engines with their own JIT) - and so IMO it's very much a restriction that regulators should force Apple to relax. The security considerations should be no different than those on a desktop platform.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by gameoverhumans on Thursday October 05, 2023 @06:26PM (#37785053)
Interesting, thanks. Didn't realise there was ways to embed WebKit views that also got JIT (escaped the walled garden a while ago!)

Still, my original point still stands. As you note, you can't have Spidermonkey running on iOS doing JIT. But you also couldn't have Gecko doing rendering and using WebKit JIT, either. ... Right?

> The security considerations should be no different than those on a desktop platform.

Completely agree. The "it's for your own security" angle is just usual Apple FUD to make their anti-competitive stance seem pro-consumer.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by saagarjha on Thursday October 05, 2023 @06:49PM (#37785228)
Your control over the web process is very limited, correct.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by cal85 on Thursday October 05, 2023 @06:02PM (#37784853)
Third party browsers are forced to use a slower JavaScript engine than Safari. They also can't support extensions or PWA features.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by callalex on Thursday October 05, 2023 @06:24PM (#37785028)
The JIT thing hasn’t been true for several years thanks to WKWebView.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by 123sereusername on Thursday October 05, 2023 @05:57PM (#37784797)
What make someone smart enough to be able to write but stupid enough not be able to tell fact from opinion? An that’s a question.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by btown on Thursday October 05, 2023 @06:00PM (#37784828)
FWIW as of a few months ago, Google and Mozilla were already prototyping porting their respective engines to iOS to prepare for this eventuality: https://9to5mac.com/2023/02/07/new-iphone-browsers/ https://9to5google.com/2023/02/06/google-chrome-blink-ios-we... - and Vivaldi would benefit from this work getting to Chromium as well.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by brucethemoose2 on Thursday October 05, 2023 @06:30PM (#37785083)
> Although I appreciate Vivaldi for getting a iOS version out, do keep in mind that it's very inferior to Safari much like all non-Safari browsers on iOS running WebKit because of how very privileged Safari is and sadly their hands are very tied. The only hope is that the EU's DMA and DSA can allow third-party browsing engines on iOS eventually, and this release is a head start type of move toward that goal I feel.

This is a double sided coin. 90% of the browsers on Google Play are absolute trash (if not, arguably, straight up malware), and some are apparently very popular.

Give 3rd party iOS browsers more permissions, and devs will exploit every single bit of privilege to the max, and then some, en masse.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by kernal on Thursday October 05, 2023 @06:38PM (#37785147)
Since you claimed 90% of the browsers on Google Play are "absolute trash (if not, arguably, straight up malware)" could you list these browsers? Or are you just talking out of your ass?
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by brucethemoose2 on Thursday October 05, 2023 @06:53PM (#37785259)
90% may be hyperbole, and I cannot, because the web results are for some reason totally different that what I am being served in a search on my phone.

But still:

https://play.google.com/store/search?q=adblock%20browser&c=a...

https://play.google.com/store/search?q=video%20download%20br...

Top results are OK, but it goes downhill pretty quickly.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by kernal on Thursday October 05, 2023 @07:01PM (#37785316)
I see. So not only could you not point out these 90% of browsers that are supposedly malware you also couldn't prove that they were even malware.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by menacingly on Thursday October 05, 2023 @07:22PM (#37785474)
I dig the consistency of your "bizarrely hostile pro-google" vibe
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by kernal on Thursday October 05, 2023 @08:12PM (#37785828)
It pales in comparison to your Apple worship
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by dang on Friday October 06, 2023 @04:35PM (#37796044)
Please don't do this here.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by dang on Friday October 06, 2023 @04:35PM (#37796042)
Please don't do this here.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by rg111 on Thursday October 05, 2023 @06:48PM (#37785223)
Why would you even look at browsers other than the well known ones?

Chrome, Brave, Firefox, Edge, DuckDuckGo, etc. are used by ~100% people.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by brucethemoose2 on Thursday October 05, 2023 @06:57PM (#37785280)
> Chrome, Edge

Gratuitous data harvesting, and Edge in particular has gotten really spammy with Microsoft promos.

> Firefox

Very slow/power hungry for me, especially with extensions which I need for dark mode, adblocking and such.

> DuckDuckGo

Probably good?

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by Synaesthesia on Thursday October 05, 2023 @07:17PM (#37785435)
Firefox on Android is great IMO, fast, not power hungry and the extensions/features are awesome. I love not being bothered by ads, even on YouTube, and having videos play in the background.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by Firmwarrior on Thursday October 05, 2023 @07:49PM (#37785675)
Firefox for Android guzzles power like crazy, even slightly more than Chrome

You probably come out ahead if you load it up with a real adblocker though

Being able to browse with uBlock and Privacy Badger is a game changer for me. I basically don't use my mobile browser at all on iOS, and I don't use any social media or news apps either, so you can guess how useful the device is.. haha

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by brucethemoose2 on Thursday October 05, 2023 @08:12PM (#37785830)
Cromite with its native adblock and darkmode is, for me, the bee's knees.

I am on an older Android phone though. If it ain't broke...

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by bad_user on Friday October 06, 2023 @01:41AM (#37787438)
Bromite's ad-blocking is very basic, the worst of the bunch. But it's a decent choice nonetheless.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by bad_user on Friday October 06, 2023 @12:04AM (#37787009)
Also, the actual Tor Browser, based on Firefox.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by mattnewton on Thursday October 05, 2023 @06:59PM (#37785293)
I don’t ink it makes sense to argue against consumer choice because consumers might go out of their way to choose something worse than safari.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by HatchedLake721 on Thursday October 05, 2023 @07:52PM (#37785696)
Consumers that care whether their phone browser runs WebKit or not (I bet it’s <0.01% of iPhone users) can choose Android.

My mom has an iPhone and I can sleep safe knowing she won’t install some dodgy browser or anything like that.

I’m happy such category of devices exist and I’m happy to pay a premium.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by mattnewton on Thursday October 05, 2023 @08:37PM (#37785978)
You can already download alternative browsers, their engine isn't what is stopping them from running spam, it's the app review process. And in any case, I have older relatives on both platforms and I don't see more problems with dogy apps on the pixel than on the iphone, both of them are full of spam notifications but otherwise totally functional.

Most users won't change the defaults anyways, I think this fear is well overblown.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by CivBase on Thursday October 05, 2023 @07:56PM (#37785720)
When Android is the only real alternative "just don't buy iPhones" isn't a very compelling argument. Android has tons of problems and likewise, the only alternative users really have is the iPhone. Consumers need more than two options if the free market is going to be effective.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by HatchedLake721 on Thursday October 05, 2023 @08:09PM (#37785806)
There will not be more than two options anytime soon, and what a lot of people miss here, it’s developer’s fault too.

Microsoft in their last few years tried very hard to incentivise developers to build apps for Windows Phone.

But many didn’t bother. Some even only targeted iOS because of the reach and how amazing the development experience was, including less devices to test and support compared to Android and Windows Phone.

And this made the choice for consumers easier, when (I don’t remember the names) some very popular and big apps at the time were not natively available on Windows Phone at all.

Even Tim Sweeney never brought Unreal Engine to Windows Phone despite their promises and I’d say played part to build the current status quo.

Developers voted with their time to build apps for a 30% fee marketplace that suddenly was a gateway to distribute their work to millions of users worldwide that was not heard of before in the era of Windows Mobile. (pre iPhone)

And now they cry wolf about the system they’ve voluntarily helped to build.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by CivBase on Thursday October 05, 2023 @09:28PM (#37786262)
It doesn't really matter how it came to be or who was involved. The point is there are two options now and there is no sign of that changing any time soon. And this affects almost everyone, not just developers. Smartphones are ubiquitous in North America and Europe, and just about everyone uses them to access the web via a browser.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by spacebacon on Thursday October 05, 2023 @11:17PM (#37786814)
There will always only be two options in all things. Bifurcation is universal. The illusion of more than two options is short lived.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by CivBase on Friday October 06, 2023 @08:38AM (#37789958)
What makes you say this? There are plenty of examples to the contrary. Airlines, cars, gas stations, shoes, beer, bikes, browsers, power tools, pizzas, etc.

Sure, there are plenty of duopolies out there, but there are also plenty of monopolies. That doesn't mean they're inevitable.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by spacebacon on Sunday October 15, 2023 @03:01PM (#37892411)
This may be the illusion of choice provided by disruption... Eventually all would settle to just two if no further disruption (periods of chaos) challenged the natural order of dominance. Not feasible in reality as change is constant. Just in theory. Occasionally we see a clear bifurcation the more order we nuance out in large complex systems like politics where the stakes are high and attention is great. We settle on left or right. The sage walks two roads in this case.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by eviks on Friday October 06, 2023 @04:24AM (#37788334)
And you should have your separate paid premium service of locking the device for your mom in the future instead of crippling 100% of users
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by HatchedLake721 on Friday October 06, 2023 @05:48AM (#37788769)
You mean crippling 0.01% of users that want to run something except WebKit.

99.99% of users don’t care.

That’s why iPhone today is still the #1 mobile phone with highest loyalty and consumer satisfaction scores for over a decade.

You don’t become an industry changing leader and stay #1 by “crippling 100% of users”. It’s just what you think is crippling, others don’t care about.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by eviks on Friday October 06, 2023 @07:24AM (#37789284)
No, I meant 100% since the limitations you support affect literally everyone your misleading stats notwithstanding

> That’s why iPhone today is still the #1 mobile phone with highest loyalty and consumer satisfaction scores for over a decade.

That's just another thing you've made up

> You don’t become an industry changing leader and stay #1 by “crippling 100% of users”. It’s just what you think is crippling, others don’t care about.

That's a rather simplistic view of the real world where leadership and customer satisfaction must depend on the single factor you're currently arguing about. In reality you could easily be a leader across a bunch of areas and then totally fail in others with the overall balance still being in your favor

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by HatchedLake721 on Friday October 06, 2023 @08:16AM (#37789711)
Yes, it affects 100% of iPhone users, because... they're an iPhone user.

But 99.9% don't care about running non WebKit browser, so it doesn't cripple 100% of users because they are not affected by this.

Same as having no Flash support today doesn't cripple 100% of iPhone users, because they don't care about it.

Go and ask your friends/parents/family/grandparents if they're crippled by not being able to run a non WebKit browser and listen to their answers.

I'm not making up numbers, I'm generalising it.

There's 1.5 billion iPhone users in the world, and there's ~26 million developers in world, that's less than 2% of 1.5 billion. Only a set of ~26 million developers have iPhones, even smaller set know the word WebKit, and even smaller set of those that know what WebKit means even care that their iPhone cannot run a non WebKit browser.

So yes, I can generalise and say that 0.01% of iPhone users care about non WebKit browsers. I can make it 0.1%, 1% or even 2%, it doesn't change the point - a minority of techies who like to tinker with their gadgets (including some business owners who want to increase their revenue) want to force their needs on 99% of people by exposing over a billion people to new security and privacy threats and attack vectors.

All while for the last 15 years they were happily piggy backing in the walled garden that was designed this way since day 1 and playing key role in Apple's success building a marketplace of 1.5 billion people that was unimaginable in 2008. And then suddenly 15/30% became too much, please change the terms we were playing along for 15 years, open up the iPhone!!

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by tayistay on Thursday October 05, 2023 @07:24PM (#37785495)
Isn't this more of a problem of Google being too permissive about trash browsers on their store than an issue of whether a browser can have its own JIT compiler?
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by brucethemoose2 on Thursday October 05, 2023 @07:29PM (#37785530)
Indeed.

Admittedly lot of the Safari security concerns (like JIT) seem very extreme.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by riscy on Thursday October 05, 2023 @07:23PM (#37785483)
I think it’s time to recognize that the web browser engine needs to be a trusted, hardened system-level component to protect user security: these engines deals directly with executing untrusted code being served from potential attackers.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by tayistay on Thursday October 05, 2023 @07:30PM (#37785539)
Can that be done without disabling JIT for the rest of us? My app would benefit greatly from JIT compilation, and it's always been a bummer that it can't realize its full performance potential on iOS.
Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by riscy on Thursday October 05, 2023 @09:18PM (#37786208)
No. A JIT requires marking pages of runtime-generated data as executable. It’s an attacker’s dream: https://en.wikipedia.org/wiki/JIT_spraying

The entire compiler and language-runtime using a JIT becomes an attack surface. Securing Javascript is hard enough.

Re:Vivaldi Takes a Bite Out of the Apple: Introducing Vivald... by arzig on Thursday October 05, 2023 @10:20PM (#37786536)
Some interesting research I found through serenity os suggesting jit may not be worth it for most things. https://microsoftedge.github.io/edgevr/posts/Super-Duper-Sec...