Live data from Hacker News

Safari Technology Preview supports 100% of the ES2015/16/17 features

kangax.github.io

91–100 of 126 posts

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#91

It is supporting ES2015/16/17 completely but its ES5 support is 99%. All other major browsers have 100% support ES5 for years. http://kangax.github.io/compat-table/es5/#test-Miscellaneous

Unless I'm mistaken, the same resource shows Chrome 55/56/57 is also at 99%?

I'd be curious if a JavaScript guru could give a little more context about the significance of that last 1%: namely, for Safari, "enumerable properties can be shadowed by non-enumerables," and for Chrome, "Array.prototype.sort: compareFn must be function or undefined."

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#92

Honnest question for Safari users: why Safari? I don't really know Safari. I used Chrome on Windows and iOS, and when I moved to OSX I naturally continued with Chrome. And the dev tools are really great.

Trackpad gestures, mostly. It's better on battery life too. But for development I use Chrome, I agree its dev tools are better than Safari's. (And Firefox's, which are really unfortunate.)

EDIT: Forgot the reading mode. That one is really important.

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#93
post #75

Earlier quoted context omitted.

> Not to mention that on Youtube (a Google site) 1080p video uses 1% CPU in Safari while 720p video in Chrome (a Google browser) manages to use 80% CPU. This is because Google/YouTube is pushing VP9 streams when they detect that you're using Chrome. It saves them few megs on bandwidth (over H.264) but you suffer for it because VP9 is not hardware accelerated so it chews through your CPU and makes your system less res…

> This is because Google/YouTube is pushing VP9 streams when they detect that you're using Chrome. It saves them few megs on bandwidth (over H.264) but you suffer for it because VP9 is not hardware accelerated VP9 can be hardware accelerated, and AFAIK current Chrome supports hardware acceleration for VP9 with hardware that supports it.

Are there any normal desktops/laptops that support it?

I'd be amazed if anything other than Chromebooks and Android had it.

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#95
post #29

Earlier quoted context omitted.

Huh, I didn't realize that. Of course, I rarely use Chrome (usually only when I need Flash, which is thankfully almost never). I assume when going iOS -> macOS it hands the URL to your default web browser?

No, it only works between Chrome on Desktop and Chrome on iOS, and in my experience it's nowhere near as seamless as the one baked into Safari.

It works both ways.

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#96
post #75

Earlier quoted context omitted.

> Not to mention that on Youtube (a Google site) 1080p video uses 1% CPU in Safari while 720p video in Chrome (a Google browser) manages to use 80% CPU. This is because Google/YouTube is pushing VP9 streams when they detect that you're using Chrome. It saves them few megs on bandwidth (over H.264) but you suffer for it because VP9 is not hardware accelerated so it chews through your CPU and makes your system less res…

> This is because Google/YouTube is pushing VP9 streams when they detect that you're using Chrome. It saves them few megs on bandwidth (over H.264) but you suffer for it because VP9 is not hardware accelerated VP9 can be hardware accelerated, and AFAIK current Chrome supports hardware acceleration for VP9 with hardware that supports it.

Can and is are two very different things. My brand new Nvidia GPU doesn't support it. Neither does iGPU. I'd wager that 99% of devices in use don't support HW decoding of VP9.

Which means that Google is wasting tons of electricity by pushing their own codec. That's not good for the environment and for global warming. Extremely irresponsible.

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#97
post #84

Earlier quoted context omitted.

+1. I use Safari for everything work, personal stuff like banking and news. Chrome incognito for you know what.

Purchasing secret presents, the use case incognito was designed for ;)

You joke, but if you make the mistake of looking at a possible present in a non-incognito window, Amazon ads will now obnoxiously feature said present in all websites that you visit...

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#98

Honnest question for Safari users: why Safari? I don't really know Safari. I used Chrome on Windows and iOS, and when I moved to OSX I naturally continued with Chrome. And the dev tools are really great.

if you're an iPhone user, you get one choice Mobile Safari... or a webkitWebView that is Safari. Yes, you can install other browsers, but they are only allowed to use Safari's rendering engine.

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#99

Earlier quoted context omitted.

The power efficiency isn't even close. The 2016 MBP battery lasts about 10 hours running Safari versus 3 hours running Chrome. I've never particularly liked Safari, but I'm close to switching myself because Chrome is such a disaster. From the energy impact tab on the Activity Monitor: Chrome: 43 Safari: 0.3

10 hours vs 3 hours for current browser versions, running equivalent tabs/extensions/settings? Sorry but I don't believe you. Can you point to battery benchmarks or is this an off the cuff personal test? Are you talking about an old version of Chrome? You're aware they've been making progress recently? https://9to5mac.com/2016/09/06/google-chrome-mac-battery-per...

>>10 hours vs 3 hours for current browser versions, running equivalent tabs/extensions/settings? Sorry but I don't believe you.

My experience is the same. I have a 2011 MBA. With Safari, the battery lasts 4 hours. With Chrome, about 90 minutes. My browsing habits are the same between browsers.

Re: Safari Technology Preview supports 100% of the ES2015/16/17 features

#100
post #94

Now add WebRTC and it will be fine :)

There are numerous comments like this and they ALWAYS come up on Safari posts. Why exactly do so many people care?

People want to use Hangouts and Skype in their browsers, WebTorrent (https://webtorrent.io/), and file sending services like https://dropub.com/, to name just a few
Post reply on HN