From: GOTO Kentaro Date: 2002-10-06T17:59:47+09:00 Subject: Re: Coroutines for discrete event simulation? At Sun, 6 Oct 2002 16:10:37 +0900, Ken Sprague wrote: > Thanks Gotoken. Unfortunately, these coroutines are based on Ruby threads, > which are too resource expensive for my use. I'm looking for an > implementation of coroutines which are little more than "global gotos", so > that tens or even hundreds of thousands of them can be running at the same > time. Hmmm, I think that coroutines can be implemented with only theads or continuations in Ruby. So, if you would like to go with Ruby, * Is there any other way which doesn't need coroutine? * How about prototyping in ruby? And then write in a faster language. Gotoken