V8 Intent to implement: ES6 classes

2081 views
Skip to first unread message

Dmitry Lomov

unread,
Aug 15, 2014, 4:46:39 AM8/15/14
to v8-u...@googlegroups.com, blink-dev

Implement ES6 classes including:

- class declaration syntax

- enchancements to objects literal syntax

- ‘super’ keyword and Function.prototype.toMethod

The implementation will proceed in V8 under --harmony-classes flag.


Owners: Adam Klein (ad...@chromium.org), Erik Arvidsson (a...@chromium.org), Dmitry Lomov (dsl...@chromium.org)


# TC39 acceptance


Classes (in the form of compromise “maximally-minimal” classes) has been a part of ES6 for more than a year now. The complete spec has been in ES6 specification draft for quite a while.


At a July 2014 TC39 meeting some significant changes to instantiation semantics for classes were proposed, so the specification may still change in certain aspects.


However implementation of classes is a significant effort for V8, and critically important for Javascript community. It is critical that TC39 receives deep implementation feedback on the feature earlier than later. To mitigate spec changes impact, two of the owners (Erik & Dmitry) are directly involved with ‘instantiation reform’ proposal on TC39. Therefore we believe now is the right time to proceed with ES6 classes’ implementation.


# Interest from other vendors


None of browser vendors currently ship ES6 classes, even though both Firefox and IE stated the intent of doing so.


# Technical considerations


Design document:

https://docs.google.com/a/chromium.org/document/d/1UaIt5SeiM-DI8tSOhtM39eSOpjkDiv2UxP9eFK35Rno/



Cheers,
Adam, Erik, Dmitry


Dimitri Glazkov

unread,
Aug 15, 2014, 11:12:26 AM8/15/14
to Dmitry Lomov, blink-dev
LGTM with Gusto!!!

:DG<

newghost

unread,
Aug 18, 2014, 3:25:11 AM8/18/14
to blin...@chromium.org, v8-u...@googlegroups.com

V8 become more and more complex.

PhistucK

unread,
Aug 18, 2014, 4:07:19 AM8/18/14
to newghost, blink-dev, v8-users
Yes, stagnation is much better!

?!


PhistucK


To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

iradc...@appgeo.com

unread,
Aug 22, 2014, 10:18:27 AM8/22/14
to blin...@chromium.org, v8-u...@googlegroups.com
Any idea on an estimated completion time for this?

This e-mail message and any attachments may contain confidential or legally privileged information. If you are not an intended recipient or otherwise authorized to receive this message, you should not use, copy, distribute, disclose or take any action based on the information contained in this e-mail or any attachments. If you have received this message and material in error, please advise the sender immediately by reply e-mail and delete this message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).

Dmitry Lomov

unread,
Aug 23, 2014, 12:53:30 PM8/23/14
to iradc...@appgeo.com, blink-dev, v8-u...@googlegroups.com
It's ready when it's ready. We don't do deadlines here (usually). 
Reply all
Reply to author
Forward
0 new messages