Live data from Hacker News

WebKit is now 100% ES6 complete

twitter.com

41–50 of 119 posts

Re: WebKit is now 100% ES6 complete

#41

Note that this doesn't include ES6 modules. The referenced kangax compatibility table doesn't cover modules, so the tweet is technically correct, but the headline here on HN is a bit misleading.

The opposite appears to be the case: https://twitter.com/xeenon/status/729086068666982401

Re: WebKit is now 100% ES6 complete

#42
post #13

Is anyone using Safari Technical Preview as their main Browser? I was hesitant to use it, but I've heard a few people say that it's stable.

It was good for a bit, then 1Password broke and I accepted that my Slack messages were never going to load.

It's a dev preview. There is no reason to use it as your main browser. There isn't even much point testing your site in it, since you can never tell who's responsible for something being broken, and it becomes more a test of how production-ready the preview is, which is a really pointless metric. The only real reason for its existence is so we can all track progress in benchmarks, and for this story to get publicity when all us browser nerds check ES6 compat and then try little code snippets in the console.

If you want the cool purple icon, copy it to to Safari 9. That's what I've done.

Re: WebKit is now 100% ES6 complete

#43

Earlier quoted context omitted.

From my limited anecdotal testing no. In fact it may be slower. This is a good view of this: https://kpdecker.github.io/six-speed/ However... the potential upside is size. Native code will usually be smaller, which for a web client is a win.

I'm having trouble reading the table, when it says 16x slower, is it saying the implementation is slower or the engine?

I remember having exactly this impression last time it popped up on HN. Bad design needs explaining.

Re: WebKit is now 100% ES6 complete

#44
post #19

Webkit was probably one of the last major web engines to start integrating ES6 features, yet they have TCOs done. Anyone explain what's holding it up in Chrome/FF/Edge?

We wrote about this in detail in http://v8project.blogspot.com/2016/04/es6-es7-and-beyond.htm... under the heading "Proper Tail Calls".

tl;dr we implemented it, it works, but we are not shipping it because we believe it would hurt developers to lose some stack frames from Error.stack in existing sites, among other issues.

Re: WebKit is now 100% ES6 complete

#45
post #33

Earlier quoted context omitted.

Ever heard of Babel?

If you're using Babel already, WebKit hitting 100% support is irrelevant. IE is going to be the thing that prevents us from running ES6 natively in the browser for several years more.

MS now feel the pain when writing a lot web apps: Azure, Office 365, Outlook etc. MS already killed IE 8, 9, 10 and even added nagware in IE11.

Re: WebKit is now 100% ES6 complete

#46
post #13

Is anyone using Safari Technical Preview as their main Browser? I was hesitant to use it, but I've heard a few people say that it's stable.

It was good for a bit, then 1Password broke and I accepted that my Slack messages were never going to load. It's a dev preview. There is no reason to use it as your main browser. There isn't even much point testing your site in it, since you can never tell who's responsible for something being broken, and it becomes more a test of how production-ready the preview is, which is a really pointless metric. The only real…

Ah if 1Password doesn't work, that's definitely a blocker for me. I could always copy the usernames and passwords from the app, but I don't think I need to test the latest and greatest features that badly.

Re: WebKit is now 100% ES6 complete

#47
post #33

Earlier quoted context omitted.

Ever heard of Babel?

If you're using Babel already, WebKit hitting 100% support is irrelevant. IE is going to be the thing that prevents us from running ES6 natively in the browser for several years more.

At the very least, if you use Safari for development you won't need to run Babel every time you change something and want to test it, only for release builds or when you want to test on other browsers, which is nice.

Re: WebKit is now 100% ES6 complete

#48
post #13

Is anyone using Safari Technical Preview as their main Browser? I was hesitant to use it, but I've heard a few people say that it's stable.

I'm currently using it; some sites that serve popups can cause the webpage to disappear, prompting the back button, but other than that it works great.

I changed the icon out with the original safari icon though, personal preference, and set it as my system default web browser.

Re: WebKit is now 100% ES6 complete

#49
post #33

Earlier quoted context omitted.

Ever heard of Babel?

If you're using Babel already, WebKit hitting 100% support is irrelevant. IE is going to be the thing that prevents us from running ES6 natively in the browser for several years more.

I was going to reply it wasn't that long, until i realized ie will be around in meaningful numbers for another 4 years. Windows 7 is supported until 2020, and IE is the only game in town there for enterprises. The new distribution policies of w10 will mean plenty of places will run out the clock on w7 support. So, yeah, I guess we're supporting IE 11 for half a decade to come.

Re: WebKit is now 100% ES6 complete

#50
post #19

Webkit was probably one of the last major web engines to start integrating ES6 features, yet they have TCOs done. Anyone explain what's holding it up in Chrome/FF/Edge?

There's been heavy discussion (especially recently) on the value of implicit TCO for developers. I believe all three V8/Chakra/Spidermonkey all found TCO regresses performance a bit. Additionally, it hampers debugging considerably as call stacks are completely twisted. There's been a lot of active discussion between browser vendors and TC39 recently to sort out a path forward. All teams are excited about explicit TCO…

TCO is "tail call optimization" if anyone is trying to figure it out.
Post reply on HN