When is the last time you said "I will choose to use safari" or seen apple pushing the bounds of what the web can do?
When is the last time you said "I will choose to use safari" or seen apple pushing the bounds of what the web can do?
EDIT: "Safari doesn't help the web be diverse"
Not sure what you mean by that. Safari existing is diversity, but like FF/mozilla was an antidote to the IE years on Windows.
I really miss that since it greatly reduced the amount of tabs I opened.
This isn't actually a Safari feature but an iOS feature AFAIK.
I'm actually continually shocked at Chrome's market share. Is there any PC or laptop platform, besides Chromebooks, that ships Chrome as the default browser? Why is it that so many people took time out of their day to go download a different browser in 2022?
And most computer-savvy people who support less computer-savvy people “helpfully” install Chrome for them, because “everyone knows” it’s the best browser.
On Windows, it also doesn’t help that Edge has the negative image of being associated with Microsoft telemetry, while Google still benefits from its former “don’t be evil” image.
It’s also not the case that any current browser is so bad that the web is better off without it. Anyone with web development experience has run into problems or limitations with every browser and depending on what you do you will have different assessments of which one is best at a given time. For example, on the Interop 2022 effort all three browser teams have been coordinating currently Safari is in the lead and that will continue to shift over time.
> When is the last time you said "I will choose to use safari" or seen apple pushing the bounds of what the web can do?
Firefox and Safari are both noticeably faster and use less memory. If you care about that, or work on battery that’s enough right there.
Firefox and Safari don’t have conflicts of interest preventing privacy improvements or ad blocking.
I haven’t used Chrome as my default browser since Firefox took the performance crown ~5 years ago but I’ve used all of them plenty as a web developer. The idea that Chrome is so far ahead that we should give up on the web having multiple implementations and just let Google run it is completely the opposite of my experience.
But it is. Safari on IOS is either missing or badly implements every system that lets web apps compete with system apps.
It's totally impossible to use something other than safari on IOS as well, which basically means apple is able to force a very significant amount of web traffic into their browser and basically lock out any feature the choose.
That is bad for the web.
Additionally, I think you're mistaken on the performance crown. Firefox made big gains years ago but chrome has always managed to perform better at most tasks despite those gains.
Maybe if you were running really low on ram Firefox is the faster option? That's not your typical use case though.
I use Firefox regardless. I way value their not crippling AdBlock over chrome and would encourage everyone to use it despite speed issues.
> Additionally, I think you're mistaken on the performance crown. Firefox made big gains years ago but chrome has always managed to perform better at most tasks despite those gains.
This always comes down to which specific things you benchmark. All I can say is that I use Chrome, Edge, Firefox, and Safari on macOS, iOS, and Windows and it's exceedingly uncommon for Chrome/Edge to feel faster but I do notice their memory impact on the rest of the system. For battery life, Safari is hands down the winner followed by Firefox and then, distantly, the Chromium browsers.
Every time I try to use Safari to create something that goes beyond "display text" it's a new adventure in bugs and unsupported features that work in the other browsers.
It's not one of those things you can sit and name, it's a 90/10 issue, and the margins are critical even though they appear small.
Bugs surrounding drag and drop is what lead me to abandon all hope of supporting the browser some months ago.
Do you have any examples which aren't so vague? The only times I've encountered this problem with other developers has been when they were using lots of Chrome-only features and put off testing in other browsers; when starting development in Firefox or Safari the most common case since around the early 2000s has been that everything works in the other two browsers with minimal effort.
Being hyperbolic doesn't help your case; it just looks like you're bashing WebKit because it's from Apple. And while you may have had a bad experience back in the day or don't like that Apple chooses not to implement esoteric or Chrome-only features, that doesn't mean that Safari sucks now.
As I pointed out earlier in the thread [1], Apple has done a great job lately implementing features that they, Google, Mozilla and Microsoft have agreed should be implemented and interoperable and have W3C/WHATWG specifications.
Every browser has bugs; the bug trackers for WebKit, Mozilla and Google are public, so we can actually see what they are.
Like the other browser makers, Apple publishes its bug fixes when a new version of WebKit is released.
Not bashing web kit because it's from Apple, I'm bashing web kit because I had a website, I wanted to make that website support safari, and it was an absolute pain to the degree that I gave up on it.
The only other browser I've had experiences like this in has been Firefox mobile. I have similar feelings about Firefox mobile.
On the desktop, technically maybe Safari is fine on the desktop because I don't own a Mac so I can't test it, but chrome and Firefox are perfectly easy to make work together on the web with no issues. I do it everyday, safari is not normal in this.
There's nothing special that has to be done to "support Safari" other than writing normal CSS, HTML and JavaScript just like for any other browser.
Even if you used something experimental or Chrome-only, there are polyfills for most features. This only makes sense for a public facing website (e-commerce, for example), since Safari is on over a billion devices and some of those potential customers might want to use your site.
> maybe Safari is fine on the desktop because I don't own a Mac so I can't test it
Other than some minor differences, the latest version of WebKit is essentially the same on iOS, macOS and iPadOS.
It's pretty common to use something like CodePen [1] to demonstrate CSS and HTML features publicly.
[1]: https://codepen.io/
Yes, it holds back further adoption of cutting edge features that some developers would like but that the average person doesn't care about.
However, it also holds back features that would increase the scope of what the web is, including more features that allow bad faith operators to track and monetize our data.
Here’s the latest one for example: https://support.apple.com/en-gb/HT213530
It's seriously frustrating how little regard is given to efficiency in both Blink and Gecko. It don't care if the engine supports WebBanana 2.0 if it's destroying battery life.
Apple has always placed privacy and efficiency over new features.
You also seem to be very confused as to the difference between a library and a process, given what you've been saying. Having a bunch of apps using WebKit as a framework does not confer any kind of advantage on these apps. If I have an app using WebKit, and you have an app using WebKit, they don't affect each other in the slightest. The only way they would is if they were reusing shared web content processes and so didn't have to wait for those to launch, except a) I imagine launching a web content process is pretty quick, and b) they don't share web content processes so it doesn't matter.
Also if I actually do that right now I see a bunch of WebContent processes, the apps themselves and then there are a handful of daemons that have InfoPlist.strings open from WebKit (from the iOSSupport subsystem) but that's just a localization file and I don't know what it's doing there but it appears to be completely irrelevant (the daemons do not have anything else from WebKit loaded).
AFAIK macOS does not use WebKit to render UI. iOS has been known to use WebKit for text rendering in the past, but I'm not sure if it even still does that, and that was presumably in-process anyway. And even if it did that still wouldn't matter as far as applications' own use of web rendering engines is concerned.
Sure it does: iCal, Mail.app, iTunes (Music app), App Store, etc.
In any case, the OS itself does not rely on WebKit for UI, it just ships some apps that use WebKit.
Which is a moot point on macOS, since you hardly ever close the browser application. You just close the windows and the application stays activated in the Dock.
Various parts of MacOS use the WebKit libraries for rendering, but that's a library, not processes.
I am on a Mac right now. There are no running webkit, webkitd etc processes despite me writing this in Safari.
`lsof | grep webkit`
You'll need to run that as the user handling WebKit processes, so sudo might be required.
And like everyone has said that would only affect startup time. Safari does absolutely blow away Chrome at startup time, but it also is more performant in basically every other way: battery, memory, runtime, window resize, tab open/close/re-open, forward/back, paint, layout...
The UI also is more minimal making well built sites feel much more native than Chrome (on Mac and iOS), especially combined with all the performance.
Chrome feels like a dinosaur.
> On iOS, Cocoa uses WebKit to render text, and everything UIKit-based on MacOS
you are saying that nstextview and friends are rendered with webkit?The last time I opened a Mac with a battery (i.e., today).
FF has massively improved since then, but Safari is my habit and I’m very happy with it.
Side note, last pass on Mac is a pile of hot garbage. I wish I had never gotten my family onto it because switching is going to be a hassle.
"Pushing the bounds of the web" specifically isn't a huge goal for me, I want to see the bounds of computing pushed. That doesn't have to be on the web. The web is Rube Golberg-esque enough as is. [edit] To be clear I'm not opposed to it, I'm neutral to it.
Edit: I also found a Chrome extension that adds it: https://chrome.google.com/webstore/detail/swipe-back/mkkcgaj...
Given that the alternative are app stores controlled by the device vendor, yes. Either we free our devices so that custom software is acceptable and common again or we make sure the web is the go to platform for everything.
I’m unhappy that Apple implemented web notifications, personally. So much easier to never have to think about that garbage.
You are making claims about values here, and not everyone shares your values.
People generally value being able to do more stuff. Putting control into the hands of large central parties generally does not go well.
Then why are you are in favor of a Chrome monopoly (the obvious externality here)?
You’re providing tautological responses.
You’ve been asked specific things about what features are missing from Safari / WebKit. You’ve replied with vague generalizations that don’t hold to be true outside of the echo chamber of the Chrome Reality Distortion Field.
this unsolvable battle is exactly why I opted for the Brave [1] browser. all the better if they’re able to use alternate engine under the hood next.
I get that it's easy to attack Apple these days but anyone paying attention can objectively see that Safari has been kicking ass this year. It's easy to do the "whataboutism" thing and they're late on a few things… but if this is a sign of things to come for Safari (style queries and masonry grids are in the works, for example), this is a Good Thing for the web and should be treated as such.
* first to implement (March) the most anticipated CSS feature that was thought to be impossible to implement for most of the past 20 years, the :has() parent selector [1]. It took Chrome until the end of August and it's still not enabled by default in Firefox because bugs
* first to implement wide-gamut color support [1a](2020)
* first to implement oklch and oklab (and a bunch more) color spaces [2]
* first to implement the open Webauthn standard Passkeys a few months ago; Chrome 108 just announced support
* support for all of the "hot" CSS features like Container Queries, Subgrid, new viewport units, AVIF image format and (as they say) "more" [3]
* Mozilla, Google, Apple and Microsoft agreed to focus on the interoperability of 15 web features; WebKit currently passes 98.5% of the tests the companies have agreed to, leading the other companies [4].
[1]: https://webkit.org/blog/13096/css-has-pseudo-class/
[1a]: https://webkit.org/blog/10042/wide-gamut-color-in-css-with-d...
[2]: https://evilmartians.com/chronicles/oklch-in-css-why-quit-rg...
[3]: https://webkit.org/blog/13152/webkit-features-in-safari-16-0...
[4]: https://webkit.org/blog/13591/webkit-features-in-safari-16-2...
Every single time I need a browser. On iPhone, iPad and MacBook.
All reasons have been mentioned already, so will not repeat them here.