Re:Why The Cool Kids Don't Use Erlang
by rubiquity on Sunday June 22, 2014 @11:31AM
(#7928088)
I'm a long time Rubyist that is new to the Erlang world by way of Elixir mostly. I did use Celluloid in Ruby and it is actually what eventually lead me to Erlang/Elixir.
I think Celluloid is neat and a great set of abstractions for multi threading in Ruby. However, there's more to actors than just having it implemented in a library. Erlang's VM was designed for the actor model whereas Ruby MRI is not. Celluloid actors run in OS threads which can't scale to hundreds of thousands where as Erlang processes can. Using Celluloid with JRuby is closer but still not quite the same.
All that said, Celluloid is damn cool and Tony Arcieri did incredible work on it.
I think Celluloid is neat and a great set of abstractions for multi threading in Ruby. However, there's more to actors than just having it implemented in a library. Erlang's VM was designed for the actor model whereas Ruby MRI is not. Celluloid actors run in OS threads which can't scale to hundreds of thousands where as Erlang processes can. Using Celluloid with JRuby is closer but still not quite the same.
All that said, Celluloid is damn cool and Tony Arcieri did incredible work on it.