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

Nick Vatamaniuc <>
Tue Feb 12 04:04:55 CET 2013


There is python-actors

https://bitbucket.org/fzzzy/python-actors

Features:

  * Receive pattern matching based on data shape. For example, [1,2,3] 
will match [int] and {"a":"b"} would match {"a":str}

  * Sending messages via "pid | msg" syntax

  * tcp and udp ports, with 'passive', 'active' and 'once' modes.

  * Linked processes

  * Inter-process messages via a rest service (using wsgi)

It tries to copy Erlang, but it is far from it. Use it for experiments, 
but consider learning Erlang if you can.

-Nick


On 02/11/2013 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)
> * Live updates (different code versions up at the same time, hot code
> updates)
>
> 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
>




More information about the erlang-questions mailing list