Live data from Hacker News

V8 developers start working on ES6 generators for JavaScript

code.google.com

1–10 of 33 posts

Re: V8 developers start working on ES6 generators for JavaScript

#3
The es wiki page linked in the bug doesn't say much about array/generator comprehensions, e.g.:

[for (x of a) for (y of b) x * y]

but those would be really nice as well.

A few months ago the ES committee decided to switch them from reading right-to-left (as in spidermonkey comprehensions, python, and haskell) to reading left-to-right (as in C#):

https://gist.github.com/dherman/b250d1fad15dbb5f77a5

Re: V8 developers start working on ES6 generators for JavaScript

#5
In the mean time you can use fibers with Node. I've been using them for StartHQ (http://starthq.com) via Common Node (https://github.com/olegp/common-node) and to be honest I don't see how I could have made it maintainable with promises, let alone no flow control library at all.

Re: V8 developers start working on ES6 generators for JavaScript

#8
post #6

A bit offtopic, but: are all chromium & V8 team members Googlers? just wondering, chromium and V8 are both open source, but I've never head of any major contributors other than Google itself.

From what I gathered (ie. talking to mraleph) v8 is mostly just Google employees. I can't speak about Chromium. The contributor situation is not vastly different for SpiderMonkey or JSC. I am usually the only contributor, besides 1-3 others that sometimes work on SpiderMonkey.

Edit: I think some ports are maintained from people outside Google. It's not really easy to tell, because most people have @chromium addresses.

Re: V8 developers start working on ES6 generators for JavaScript

#10
post #8
post #6

A bit offtopic, but: are all chromium & V8 team members Googlers? just wondering, chromium and V8 are both open source, but I've never head of any major contributors other than Google itself.

From what I gathered (ie. talking to mraleph) v8 is mostly just Google employees. I can't speak about Chromium. The contributor situation is not vastly different for SpiderMonkey or JSC. I am usually the only contributor, besides 1-3 others that sometimes work on SpiderMonkey. Edit: I think some ports are maintained from people outside Google. It's not really easy to tell, because most people have @chromium addresses…

[deleted]
Post reply on HN