Intent to ship: ES6 generator functions (V8)

90 views
Skip to first unread message

Andy Wingo

unread,
Sep 17, 2014, 6:39:38 AM9/17/14
to v8-u...@googlegroups.com, blin...@chromium.org
[FYI +blink-dev]

ES6 defines a new language feature, "generator functions" [1].

ES6 generator functions have been shipping in Firefox since version 26
(December 2013) [2]. Although IE and Safari developers participated
actively in the design of generator functions, and so we expect
generator functions to be implemented by them, we don't know when.

V8 has had generator functions since June 2013, under the
--harmony-generators flag. The specification has undegone minor changes
since then, to which we have adapted. To our knowledge, the V8
implementation of generators is specification-compliant, with a few
known bugs that will be fixed [3]. Work to nicely integrate generator
objects with devtools is ongoing [4].

Owners: wi...@igalia.com, ross...@chromium.org

[1] http://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator-function-definitions
[2] https://developer.mozilla.org/en-US/Firefox/Releases/27#JavaScript
[3] http://code.google.com/p/v8/issues/detail?id=3565
[4] http://code.google.com/p/v8/issues/detail?id=3292

PhistucK

unread,
Sep 19, 2014, 6:45:12 AM9/19/14
to Andy Wingo, v8-users, blink-dev
Thank you for sharing! Exciting, I know a lot of developers have been waiting for it. Hopefully Internet Explorer and Safari implements them soon enough as well.

Do you intend to ship it with the referenced issues, or is the plan to fix them before shipping (preferred, obviously)?


PhistucK

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

Andy Wingo

unread,
Sep 19, 2014, 6:55:04 AM9/19/14
to PhistucK, v8-users, blink-dev
On Fri 19 Sep 2014 12:44, PhistucK <phis...@gmail.com> writes:

> Do you intend to ship [generators] with the referenced issues, or is
> the plan to fix them before shipping (preferred, obviously)?

The answer is different for the different bugs. Some will be fixed,
some will take more time. We consider the incompatibility impact of
fixing them to be low enough that it's reasonable to ship already.

Andy

Isiah Meadows

unread,
Sep 22, 2014, 7:58:42 AM9/22/14
to v8-u...@googlegroups.com, blin...@chromium.org
This may also make some library devs happy (link as an example)
Reply all
Reply to author
Forward
0 new messages