Re: The right idiom for reading from CAPI panes
On Fri, 25 Jan 2008 18:08:24 -0700, David McClain <dbm@refined-audiometrics.com> wrote:
> I just had a response, from someone watching this thread of
> conversation, that he has used Erlang for such cases. I have used
> Erlang in the past, but I didn't realize its kernel was fully re-
> entrant. But Erlang's in-situ module update philosophy is certainly
> something we are aiming for. And I think Lisp could shine in this
> regard.
I've just started reading Joe Armstrong's recently-released Erlang
book and the language certainly sports a couple of interesting
concepts. I wouldn't really want to write large applications in it,
being a dyed-in-the-wool Lisper, but it's probably a good idea to
steal something from it.
And, as you might remember from Klaus Harbo's talk in Hamburg, his
CL-MUPROC library already implements a way to deal with
multi-threading the Erlang way. If one adheres to that, one can
probably avoid a lot of headache.
http://common-lisp.net/project/cl-muproc/
My understanding is that the main difference to Lisp that remains is
that Erlang "processes" are a lot cheaper to create than OS threads as
they are implemented in user land. But that is obviously only an
issue when you have very, very many processes. I certainly wouldn't
want to go back to "green" threads in CL, though, as for example you'd
lose the ability to be called back from foreign code that LispWorks
has.
As for Erlang's "hot upgrades" it is not totally clear to me how that
differs from modifying a running Lisp system. Maybe someone with more
Erlang fu can explain this.
Or maybe we should stop here as this is certainly not
LispWorks-specific anymore and might thus be in the wrong forum...