r/javascript • u/lhorie • May 17 '16
WebKit is now 100% ES6 complete
https://twitter.com/webkit/status/7286436244648837125
u/lulzguard May 17 '16
ELI5 how is a rendering engine ES6 compliant? I mean shouldn't V8 be doing this job?
8
u/lhorie May 17 '16
This is for Safari Technology Preview
3
u/lulzguard May 17 '16
Safari has Nitro as JS engine, what does webkit has to do with ES6?
26
u/lhorie May 17 '16
Nitro (actually JavascriptCore) is part of Webkit http://trac.webkit.org/wiki/JavaScriptCore
6
1
u/amcsi May 17 '16
Wait, then where does V8 come in?
5
u/Recursive_Descent May 17 '16
V8 is the js runtime for Chrome. JSCore is the js runtime for Safari. Webkit is the whole browser platform that Safari uses (including rendering and js execution). Google used the rendering engine from Webkit, but eventually forked off of it.
1
u/amcsi May 17 '16
Oh wait I was under the impression that Webit was also used by Chrome. I must've gotten lost in the news of the past few years.
3
u/Recursive_Descent May 17 '16
Chrome uses Blink, which is a fork of Webkit from a few years ago. Now WebKit proper is only used by Safari.
2
u/gurenkagurenda May 18 '16
It's also worth adding that Chrome had V8 from the very beginning (I think?), and Safari has never used V8.
1
u/CreativeGPX May 17 '16
So, is Google more likely to merge the changes from JSCore or implement their own version of these features? ... In other words, how close are the projects after the fork?
4
u/Recursive_Descent May 17 '16
Google will have to implement their own version, V8 is completely different codebase from JSCore.
AFAIK Google only ever used the rendering engine of WebKit (which they forked and now call Blink), so JSCore was never part of Chrome.
1
u/Graftak9000 May 17 '16
Chromium browsers, Node JS as if now. IE, Edge, Mozilla and WebKit all have their own JS interpreter.
7
u/spankalee May 17 '16
And Safari won't get the goodies until the fall because of their slow release schedule :(
7
u/gotnate May 17 '16
But there is new purple Safari Development Preview on OS X, which is frequently updated. Maybe some day, iOS will also get purple Safari.
1
u/myrddin4242 May 17 '16
And now, my young apprentice, you shall witness the power of this fully operational ES6!
-1
0
0
May 17 '16
[deleted]
3
u/chuckhendo May 17 '16
I'm sorry, but what version of Chrome are you running? Is this Canary? That's the only version of Chrome I could get to report 100%. So "finally caught up" means that it caught up with the cutting edge development version of Chrome?
0
28
u/[deleted] May 17 '16
Are modules not considered part of ES6 now then? None of the vendors have finished implementing them yet, so I'm not sure if this 100% figure holds up.