[erlang-questions] Best actor libraries in other languages?

Joe Armstrong <>
Wed Feb 13 08:41:56 CET 2013


On Wed, Feb 13, 2013 at 1:42 AM, Toby Thain <>wrote:

> On 11/02/13 10:09 AM, Andrew Pennebaker wrote:
>
>> Of course Erlang has a killer actors library as a core component of
>> itself. Sadly, Erlang is not always an option (e.g., customer requires a
>> JVM language). Which actor libraries in other languages come close to
>> Erlang's in terms of:
>>
>> * Syntax conciseness (spawn, !, receive)
>> * Polymorphism (receiving different kinds of messages)
>> * Fault-tolerance (GC per actor, actor crash doesn't crash the system)
>>
>
> Akka and Scala specifically offer all the above.


Plus the actor model does not address problems of fault propagation.

The statement "X has Erlang like semantics" usually means "X has Erlang
like semantics
<emph>except for error handling</emph>" - handling errors out-of-band is a
big win.

Isolation is the key property that must be guaranteed for actors. If <<I>>
can crash
<<your>> code then all bets are off.

/Joe






>
>
>  * Live updates (different code versions up at the same time, hot code
>> updates)
>>
>
> This can be done on the JVM, as I understand it (JRebel etc) but I can't
> speak from experience. Certainly it's not as designed-in and natural as
> Erlang.
>
> --Toby
>
>
>
>> Does Scala and/or Akka offer anything like these features? What about
>> Ruby's Celluloid? What are the best actor libraries in Common Lisp and
>> Scheme?
>>
>> The Haskell community seems to prefer STM over actors. How does the
>> Erlang community feel about STM?
>>
>> --
>> Cheers,
>>
>> Andrew Pennebaker
>> www.yellosoft.us <http://www.yellosoft.us>
>>
>>
>>
>> ______________________________**_________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>>
>
> ______________________________**_________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130213/7644cecc/attachment.html>


More information about the erlang-questions mailing list