Erlang (was: Re: Generics)
Ned Konz
ned at bike-nomad.com
Mon Nov 10 21:55:53 UTC 2003
On Monday 10 November 2003 1:25 pm, Eric Merritt wrote:
> I guess this would imply some external meta-process
> to modify the priorities of the watched processes? I
> wonder how much overhead this would create.
It's just one more process. Actually, we already have a couple of
high-priority processes that do this as a side effect.
> > We don't block the VM, or at least we don't have to.
> >
> > We have async file and network support; a Process
> > needing to do I/O to a
> > resource that isn't ready can be blocked until that
> > resource is ready without
> > stopping other Processes.
>
> I guess what I am saying is that in erlang and
> mozart-oz for that matter. There is no special async
> code (at least from the programmer prospective), all
> io code is async by default.
That's easy to provide in Squeak as well. It's just that (because some
platforms may not support async files) we don't use it by default.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|