News for hackers. Stuff that matters.
Re:RailwayJS by gnufied on Monday October 01, 2012 @06:21AM (#4596118)
In a language like Ruby or Python by using Fibers or Co-Routines(Greenlets), one can get benefit of non-blocking IO at the same time avoiding code spaghetti.

Gevent in python for example is pretty popular and similar is the case with Em-synchony in Ruby.

I have used callback objects but really that is not even close to what one can achieve with Fibers or Greenlets.

Re:RailwayJS by mitjak on Monday October 01, 2012 @10:35AM (#4597193)
Can you give an example? Thanks!