4 ms·
Does anyone know when ECMAScript6 (Harmony) is supposed to be finalized? The last I heard is December 2013, which is this month... wondering when all of the har
by JoshGlazebrook 13y ago
Does anyone know when ECMAScript6 (Harmony) is supposed to be finalized? The last I heard is December 2013, which is this month... wondering when all of the harmony features that are in node 0.11 are going to make it to the stable releases?
- _random_ 13y agoIn about 10 years.
- dlau1 13y agoReally interested in this. Played around a bit with the generator functions and being able to replace straight callbacks with yields made the code so much cleaner and more readable. Unfortunately, interoperability with callback/promise based libraries is a bit clunky.
- eldude 13y agoSee AGen Spec[1] & gens[2], which implements it. [1] https://github.com/AsynchronousGenerators/agen-spec https://github.com/AsynchronousGenerators/agen-spec [2] https://github.com/Raynos/gens https://github.com/Raynos/gens
- olegp 13y agoHave you looked at fibers? We've had a very good experience with them at https://starthq.com https://starthq.com Here's a talk my co-founder Alex gave on it: http://youtu.be/pmyDJnEza6A http://youtu.be/pmyDJnEza6A
- apaprocki 13y ago- November 2013, Final review draft - June 2014, Editorially complete (STH: we said June in the meeting, but July makes more sense, since we don't have to submit to the GA until September, IIUC) - December 2014, ECMA approval https://github.com/rwaldron/tc39-notes/blob/48c5d285bf8bf0c4e6e8bb0c02a7c840c01cd2ff/es6/2013-03/mar-13.md#416-current-status-of-es6 https://github.com/rwaldron/tc39-notes/blob/48c5d285bf8bf0c4...
- arxpoetica 13y agoI'd also be interested in how many Harmony features are currently implemented in V8/Node.js?
- apaprocki 13y agoYou can follow all of that information (and more) here: http://kangax.github.io/es5-compat-table/es6/ http://kangax.github.io/es5-compat-table/es6/
- malandrew 13y agoI think a lot of those features need to make it into V8 first. I myself cannot wait for destructuring assignment to make it into node.js.
- couchand 13y agoCoffeeScript has destructuring assignment...
- babby 13y agoCuriously though, CS still doesn't support yield despite there being solid PR's, no matter how many times I thrash the refresh button on the github's issues page.
- malandrew 13y agoIck! No thanks. It produces the ugliest, most obtuse javascript code I've seen. Furthermore, where I work we do lots of high performance Javascript code and some of the conventions in the code CoffeeScript outputs is extremely wasteful when performing lots of calculations, such as calcing matrix multiplications per requestAnimationFrame. It simply produces far too many unnecessary expressions to evaluate. I would not be surprised if it reduces frame rate to half or a quarter of what you can achieve with pure JavaScript. Yes, the JavaScript CoffeeScript produces often uses a more performant structure here and there than what many developers would naturally code. However most CoffeeScripters I've met have never really learned JavaScript well enough to understand how many cycles it throws away unnecessarily. If someone writes CoffeeScript code that doesn't have to be fast, then more power to them for choosing a language they are happy with and feel productive. However, if they're writing a single page web app in CoffeeScript and wondering why it is dog-ass slow, CoffeeScript is going to be one of the contributing factors. It probably won't be the biggest factor, but it certainly won't be negligible.
- couchand 13y agoIt sounds like you actually have done some benchmarking and understand the places it really is necessary to get to the bare metal. Many forget that most code doesn't have to be that fast (see: premature optimization). Much better to save developer cycles. Besides, I thought we were talking about server-side JS, where a native CoffeeScript implementation is a completely reasonable proposition.