From: Roger Pack Date: 2008-11-23T09:00:29+09:00 Subject: [ruby-core:20037] Re: Fibers in 1.8 > I am currently attempting to backport the C implementation from 1.9 > (http://github.com/tmm1/ruby187/commits/fiber_backport). So far the > simple API is functional: > > $ ./miniruby -e "f = Fiber.new{ |sym| > p(sym) > puts 'hi' > p(Fiber.yield 1) > puts 'bye' > :end > } > p(f.resume :begin) > p(f.resume 2) > " > :begin > hi > 1 > 2 > bye > :end > > The first three tests from 1.9 test suite also pass: Wow that's intense :) Keep up the good work. -=R