From: "Berger, Daniel" Date: 2007-08-23T06:39:43+09:00 Subject: Re: coroutines with Fiber::Core > From: MenTaLguY [mailto:mental@rydia.net] > Sent: Wednesday, August 22, 2007 3:31 PM > To: ruby-core@ruby-lang.org > 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. In Perl-land it's "Coro": http://search.cpan.org/~mlehmann/Coro-3.63/Coro.pm Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.