Live data from Hacker News

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

kangax.github.io

21–30 of 126 posts

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

#21
post #16

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.

Many reasons. Among those I care about: * It's a lot more power-efficient than any other browser. * In my experience, it's often faster than Chrome. * It follows platform conventions. I still get weirded out by Chrome cramming everything into that ⋮ button. * It syncs history, favorites, and open tabs over iCloud to Safari on my phone. It also supports Handoff. * It's not made by Google, a company that I prefer to gi…

An FYI regarding "In my experience, it's often faster than Chrome"...

I found during development that Safari will start retrieving suggested URLs even before you finish typing them, so if I'm going to 'news.ycombinator.com', it makes the request when I hit 'n', and by the time I hit a few more characters and enter a few hundred milliseconds later, the request is already complete.

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

#23
At the same time, right now it's relly backwards[1]. Luckily the shelf-life of Safari is much shorter than others, so we'll be able to use fetch() natively without polyfills soon-ish if you target modern browsers.

[1] http://caniuse.com/#feat=fetch

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

#24
post #16

Earlier quoted context omitted.

Many reasons. Among those I care about: * It's a lot more power-efficient than any other browser. * In my experience, it's often faster than Chrome. * It follows platform conventions. I still get weirded out by Chrome cramming everything into that ⋮ button. * It syncs history, favorites, and open tabs over iCloud to Safari on my phone. It also supports Handoff. * It's not made by Google, a company that I prefer to gi…

An FYI regarding "In my experience, it's often faster than Chrome"... I found during development that Safari will start retrieving suggested URLs even before you finish typing them, so if I'm going to 'news.ycombinator.com', it makes the request when I hit 'n', and by the time I hit a few more characters and enter a few hundred milliseconds later, the request is already complete.

Chrome has been doing that for a long time and more.

If you hunt around you'll find that chrome is even doing things like speculative DNS queries, opening TCP channels to endpoints that are often opened on pages that you might be trying to load, in some very limited cases even pre-downloading and executing a page "hidden" only to swap it in like you changed tabs once you "hit enter". [0][1]

If you tend to be pretty "habitual" when using chrome, fire up something like wireshark before opening it and watch what it does when you first start it. A year or 2 ago I did this and noticed it would instantly fire off DNS queries for gmail and start a TCP channel before i've even typed anything! (as at the time the first thing i'd do when opening chrome was check my email).

It's really cool shit, and I'm sure chrome and safari aren't the only ones doing it. I mean the gains can be substantial (especially for mobile devices! getting the DNS query and TCP handshake out of the way on a shitty 3g network before the user stops typing means it will load a few hundred ms sooner) and for many of the smaller changes there are very few downsides.

[0] This goes over the bit ones that many browsers have: https://css-tricks.com/prefetching-preloading-prebrowsing/

[1] Here is a somewhat-technical article about chrome from 2012 that goes over the DNS and TCP-preconnect stuff: https://www.igvita.com/2012/06/04/chrome-networking-dns-pref...

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

#25
post #16

Earlier quoted context omitted.

Many reasons. Among those I care about: * It's a lot more power-efficient than any other browser. * In my experience, it's often faster than Chrome. * It follows platform conventions. I still get weirded out by Chrome cramming everything into that ⋮ button. * It syncs history, favorites, and open tabs over iCloud to Safari on my phone. It also supports Handoff. * It's not made by Google, a company that I prefer to gi…

An FYI regarding "In my experience, it's often faster than Chrome"... I found during development that Safari will start retrieving suggested URLs even before you finish typing them, so if I'm going to 'news.ycombinator.com', it makes the request when I hit 'n', and by the time I hit a few more characters and enter a few hundred milliseconds later, the request is already complete.

Because of this, I've managed to hang Safari once before just by typing a URL, not actually visiting it.

It's nonetheless a neat feature.

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

#26
post #17

Earlier quoted context omitted.

One of my friend who is travelling moved from Chrome to Opera (!) for the battery life reason.

Opera uses Blink now, so I wouldn't expect it to be much better than Chrome.

Opera would surely have less built-in botnet than Chrome, maybe that accounts for the lower power consumption ;)

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

#27
post #16

Earlier quoted context omitted.

Many reasons. Among those I care about: * It's a lot more power-efficient than any other browser. * In my experience, it's often faster than Chrome. * It follows platform conventions. I still get weirded out by Chrome cramming everything into that ⋮ button. * It syncs history, favorites, and open tabs over iCloud to Safari on my phone. It also supports Handoff. * It's not made by Google, a company that I prefer to gi…

An FYI regarding "In my experience, it's often faster than Chrome"... I found during development that Safari will start retrieving suggested URLs even before you finish typing them, so if I'm going to 'news.ycombinator.com', it makes the request when I hit 'n', and by the time I hit a few more characters and enter a few hundred milliseconds later, the request is already complete.

Also, there's a preference under "Search" that toggles this.

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

#28

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.

More power efficient which is key because I use a laptop all the time, and often on battery power. It fits better with macOS conventions compared to Chrome and Firefox. It's faster. Safari content blockers (I use 1Blocker) seems to not slow down page loading at all compared to conventional ad-blockers on both Safari and Chrome, which does.

I used Chrome on Mac for years. Then Safari became better, and then it kept getting better with the addition of the Safari Developer Preview[1]. It's not even funny anymore how far behind Chrome is compared to Safari when it comes to UI and UX.

[1]: https://developer.apple.com/safari/technology-preview/

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

#29
post #16

Earlier quoted context omitted.

Many reasons. Among those I care about: * It's a lot more power-efficient than any other browser. * In my experience, it's often faster than Chrome. * It follows platform conventions. I still get weirded out by Chrome cramming everything into that ⋮ button. * It syncs history, favorites, and open tabs over iCloud to Safari on my phone. It also supports Handoff. * It's not made by Google, a company that I prefer to gi…

FYI chrome on macOS supports handoff too

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?

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

#30

Can I use lists Safari as not supporting WebRTC. I thought that was part of the spec. http://caniuse.com/#search=webrtc

WebRTC is a browser spec, it's not part of ECMAScript the language. That's what this submission is referring to.
Post reply on HN