[nodejs] Re: [ANN] Suspend - Generator-based Control Flow

2013-05-29 Thread Jean Hugues Robert
Hi, This is interesting. You probably had at look at taskjs.org. Generators are kinds of structured fibers that, yes, can be "abused" to provide some form of threading. How "unobstrusive" this can be remains to be fully explored, as you do, in good company (see also streamline implementation

Re: [nodejs] Re: trying to wrap my head around "promises" - async vs Q

2013-05-25 Thread Jean Hugues Robert
Le jeudi 23 mai 2013 19:32:25 UTC+2, Domenic Denicola a écrit : > That's overstating it a bit. It's very easy to convert to promise-based > code, e.g.: > > var fs = require('fs'); > var Q = require('q'); > > var readFile = Q.denodeify(fs.readFile); > var writeFile = Q.denodeify(fs.writeFile); >

[nodejs] Re: [ANN] Paroles 0.1.67. Paroles are Promises with Steps, in Callback disguise.

2013-05-04 Thread Jean Hugues Robert
@mgutz, https://github.com/gameclosure/ff ff and paroles do have similar purposes, thanks for pointing that. I missed ff but I too had a look at the reimagined "step" by creationix/Time Caswell. I believe the main difference between ff and paroles is about the way ff handle step errors because

[nodejs] [ANN] Paroles 0.1.67. Paroles are Promises with Steps, in Callback disguise.

2013-05-03 Thread Jean Hugues Robert
);" Promise/A+ compliant. Some convenience methods are also provided to implement promises made of steps (creationix/step style). See https://github.com/JeanHuguesRobert/l8/wiki/AboutParoles Feedbacks are welcome :) Yours, Jean Hugues Robert, aka @jhr -- -- Job Board: http://jobs