From: Charles Oliver Nutter Date: 2007-08-28T00:17:53+09:00 Subject: Re: Fibers in Ruby 1.9? Yukihiro Matsumoto wrote: > Hi, > > In message "Re: Fibers in Ruby 1.9?" > on Wed, 22 Aug 2007 16:12:09 +0900, David Flanagan writes: > > |Can anyone (Sasada-san?, Matz?) explain Fiber? How likely is this to > |remain in the final version? And what about these new external iterator > | methods that have appeared in Enumerator? > > It is still hot topic among core developers. But fibers (and external > iterators) are likely to remain in the final 1.9, more likely than > continuations. Is there any documented specification for Fibers yet? I've got basic Fibers working in JRuby using native threads (first two tests in your test_fiber pass), but I'm not clear on the semantics of a few methods. I also don't have it working for a "normal" thread to participate as a fiber (i.e. Fiber.current only works within an explicitly-created fiber at the moment). There are also some interesting questions I have to resolve regarding fibers in a concurrent native-threaded VM. Pointers to documentation would be appreciated :) - Charlie