I wrote small lib that turns async code into synchronous code (using Fibers) http://alexeypetrushin.github.io/synchronize
Also, there's Mono.js a Ruby on Rails like web framework that uses plain synchronous code (also with Fibers) monojs.org On Tuesday, 4 March 2014 18:21:25 UTC+4, rtweed wrote: > > Yes I see from the fibers documentation that it looks like it's now been > ported to Windows - as I say when I last looked (about a year ago maybe) it > was still Linux only. Just testing it out now against the synchronous > Node.js interface to GT.M and it works beautifully, and seems to provide a > nice way of catering for chunks of code that include blocking I/O whilst > letting the main thread continue on its merry way - just what's needed! > > I foresee a major rewrite coming up! Damn! :-) > > Thanks for bringing this to my attention! > > Rob > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.