From: Eleanor McHugh Date: 2007-04-19T00:37:55+09:00 Subject: Re: Could Ruby be a good Erlang-like? On 18 Apr 2007, at 14:01, Jason Roelofs wrote: > I have yet to actually mess with Erlang (I definitely plan to), but > doing > what you're asking seems like an almost monumental waste of time. > The reason > Erlang works the way it does is because it was built from the > ground up to > support massively parallel processing. Ruby was built from the > ground up as > your normal single-threaded (with support for green-threads) dynamic > programming language. > > So it seems that what you're asking is to rewrite Erlang to work > with Ruby > syntax; this is not something that can be patched into the Ruby VM. I'm not sure that Erlang is the right place to be looking for good Ruby concurrency models, given the fundamental differences between the two languages. What I think would be interesting though is if some of the CSP and Pi-Calculus inspired stuff that's being worked on by the KRoC team (http://www.cs.kent.ac.uk/projects/ofa/kroc/) make it into the Ruby world. Ellie Eleanor McHugh Games With Brains ---- raise ArgumentError unless @reality.responds_to? :reason