Hi,- yes in general all nodejs functionaly works on all supported platforms- no it might, but not in near future as upcomming nodejs 0.12 and current Firefox has it already implemented
Checkout http://koajs.com/ it aims to replace Express by using generator functions and avoiding callback hellMario
Dne čtvrtek, 14. srpna 2014 22:25:02 UTC+2 Alexey Petrushin napsal(a):Want to try generators `node --harmony` but worried a little about:- if it works on all platforms?- does the API stable and won't be changed in future?
--To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/96e3d152-bcd6-4e8b-948d-f4416af2470b%40googlegroups.com.
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
On Sun, Aug 17, 2014 at 4:20 AM, Mario Vejlupek <ma...@vejlupek.cz> wrote:
Hi Rick,to clarify you anwser a bit, yes you are right, generators in existing implementations are incomplete, as it is draft http://wiki.ecmascript.org/doku.php?id=harmony:generators
This is just a strawman, the latest specification draft is maintained online here: https://people.mozilla.org/~jorendorff/es6-draft.html
it's even suprising that they are in any stable envirnonment(talking about Firefox).
It's not very surprising, the spec is still in development, will be frozen Dec 2014, but won't be officially published until June 2015.
But what in my opinion, is now importat that they are usable in node as coroutine solution to callback hell.
As long as you're ok with a potentially moving target, then yes.
If you have any notes on how current implementation would change in near future please let me know.
Yes, I recorded the resolutions, which could not possibly be implemented yet: https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-07/jul-29.md#short-discussion-about-making-generatorreturn-throw-a-special-exceptionRick
Hi Rick,to clarify you anwser a bit, yes you are right, generators in existing implementations are incomplete, as it is draft http://wiki.ecmascript.org/doku.php?id=harmony:generators
it's even suprising that they are in any stable envirnonment(talking about Firefox).
But what in my opinion, is now importat that they are usable in node as coroutine solution to callback hell.
If you have any notes on how current implementation would change in near future please let me know.