Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Something like Erlang's message passing actor model in Common Lisp?

393 views
Skip to first unread message

Yves S. Garret

unread,
Sep 14, 2012, 1:30:28 PM9/14/12
to
Hello,

I'm just curious if there is something like an asynchronous message passing actor model as can be found in Erlang. If there are a few, which would you recommend as the best?

Yves S. Garret

unread,
Sep 14, 2012, 1:50:48 PM9/14/12
to
On Friday, September 14, 2012 1:30:28 PM UTC-4, Yves S. Garret wrote:
> Hello,
>
>
>
> I'm just curious if there is something like an asynchronous message passing actor model as can be found in Erlang. If there are a few, which would you recommend as the best?

[edit]

I realize that it's not part of Lisp the same way as it is in Erlang, but are there external libraries that you would recommend (or personally tried, at which point I'd like your input on the experience) that could accomplish the same task?

Pascal Costanza

unread,
Sep 14, 2012, 4:37:27 PM9/14/12
to
On 14/09/2012 19:30, Yves S. Garret wrote:
> Hello,
>
> I'm just curious if there is something like an asynchronous message passing actor model as can be found in Erlang. If there are a few, which would you recommend as the best?
>

I had a good impression of CL-MUPROC, but I don't know if it's still
maintained and/or the most recent version is usable.

Pascal

--
My website: http://p-cos.net
Common Lisp Document Repository: http://cdr.eurolisp.org
Closer to MOP & ContextL: http://common-lisp.net/project/closer/
The views expressed are my own, and not those of my employer.

Tobias Höppner

unread,
Sep 24, 2012, 7:48:45 AM9/24/12
to
Hello,

recently, i worked with the cffi based port of the zeromq-library. it is
installable via quicklisp assuming that you have installed the
zeromq-library previously. it provides a socket like api for message
passing and it is quite fast. the main advantage to my mind is that it
provides support for a wide range of languages. the guide to zeromq
provides also common lisp examples which makes it easy to learn.

although it is quite low-level compared to erlang-message-passing it
could provide a basic framwork to model a similar protocol.

regards
tobias

Dimitri Fontaine

unread,
Dec 10, 2012, 8:54:54 AM12/10/12
to
To that end I've happily been using lparallel and its queue
implementation. See an example of that here:

http://tapoueh.org/blog/2012/11/04-Concurrent-Hello.html

Regards,
--
dim
0 new messages