From: Tony Arcieri Date: 2008-07-31T02:41:50+09:00 Subject: Re: Concurrent Ruby? ------=_Part_74517_25034057.1217439751280 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Jul 28, 2008 at 10:17 PM, Kyle Murphy wrote: > Apologies if this is a really stupid question, I am new to programming, > but after reading about Erlang and it's speed increase on multi-core > devices I had to ask. > > With Matz supposedly making Ruby 2.0 right now, is it possible to make > it concurrent like Erlang so as to take advantage of the future > multi-core devices? Thank you. > Rubinius is able to spawn a VM per CPU core, and allow quasi-Erlang style concurrency using Actor objects which can communicate across inter-VM message buses. It's not as elegant as Erlang's SMP scheduler (something like that really isn't possible without a shared-nothing process architecture), but it more or less provides the same approach Erlang uses for distributed systems (i.e. each CPU is a "node") -- Tony Arcieri medioh.com ------=_Part_74517_25034057.1217439751280--