ANNOUNCE - graphics package

Carsten Schultz carsten@REDACTED
Mon Jan 19 15:13:31 CET 2004

On Mon, Jan 19, 2004 at 02:24:39PM +0100, Luke Gorrie wrote:
> Joe Armstrong <joe@REDACTED> writes:
> >   It turns out that with 20 odd protocol messages one can do *most* of
> > the  fun  things  that are  possible  with  X.  The entire  design  of
> > virtually all widget  sets (motif, GTK etc) seems  to be predicated by
> > the  desire to  simulate  concurrency  with callbacks.  In  ex11 I  do
> > *exactly the opposite* and expose the concurrency to the applications.
> Is it really concurrency they are simulating?
> I think what they're simulating is object-oriented programming. The
> callbacks are there to poke in behaviour so that e.g.  "Ok" and
> "Cancel" buttons do different things.

This may not be completely to the point, but however: In OO languages,
UIs are often modelled as one object per widget.  This is imo a
natural thing to do.  But although OO literature (at least that
introducing OO) often speaks of method invocation as message passing,
all of these `messages' are synchronous.  One process per widget may
be similar to one object per widget, but advantageous if processes are
cheap enough.

A functional language with lightweight processes (like Haskell, oh
wrong list ;-) may more OO than OO languages, but that is a discussion
we do not want to start ;-) And actually, I am not at all
knowledgeable enough to make such a claim.



Carsten Schultz (2:38, 33:47), FB Mathematik, FU Berlin
PGP/GPG key on the key servers, 
fingerprint on my home page.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the erlang-questions mailing list