From: MenTaLguY Date: 2007-08-23T06:30:46+09:00 Subject: Re: coroutines with Fiber::Core On Thu, 23 Aug 2007 05:55:50 +0900, David Flanagan wrote: >> BTW, I'm thinking about name "Fiber". Current Fiber means >> Semi-Coroutine. Fiber::Core is Coroutine. Yes, name of Fiber is >> from Microsoft, but it's means Semi-Coroutine such as Lua's >> coroutine and Python's generator. > > How about just calling it a Coroutine? Lua uses coroutine even though > it is not a full coroutine. I'd be more concerned about the method name > yield: Fiber.yield is superficially similar, but deeply different from a > regular ruby yield, and I think this could cause confusion. How about > using Fiber.return or even Fiber.coreturn? I kind of like coreturn, actually. It is sort of the dual to a regular return, even. Also, for comparison, Rubinius calls its equivalent of Fiber::Core Task; all of the other coroutine/continuation/threading abstractions are built atop it in Ruby code. -mental