Ola B. wrote:
resident expert, I think …
But concurrency in Ruby is still green threads, so that would have to
be either concurrency with YARV, or concurrency with separate Ruby
processes communicating in some way.
That was actually my purpose in making the suggestion … to stimulate
debate about concurrency in Ruby, the major differences between the
current 1.8 and proposed 1.9/2.0 concurrency tools, the way other
languages deal, successfully or unsuccessfully, with concurrency, etc.,
I think Erlang is the horse to challenge in this race, or perhaps, on a
more theoretical note, the Pi-calculus. And right now, EventMachine
appears to be Ruby’s horse in the race, which is why I suggested that
Francis write the book.
On a related note, some Scheme folks have implemented “Erlang-like”
lightweight processes. Here’s a link to the paper; I’ve got the software
installed but haven’t had a chance to experiment with it.