English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Does LablTk have a future?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-02 (09:00)
From: Chris Campbell <cyberdanx@g...>
Subject: Re: [Caml-list] Re: Feeding the OCaml GUI troll
On 01/09/05, skaller <skaller@users.sourceforge.net> wrote:
> On Wed, 2005-08-31 at 22:49 -0600, Matt Gushee wrote:
> > I'm not sold on the idea of a "simple" GUI front end.
> I am. My idea is this: GET RID OF CALLBACKS.
> The idea is to use (user space) threads instead.
> The big problem with GUI's is that they're passive.
> You write 'event handlers' and have to store the current
> state manually. By control inverting the code, you can
> just use a thread for each widget.

Joe Armstrong did something like this with Erlang and X called Ex11. 
Can't remember how it works exactly, but it seems each widget is a
thread and can process events independantly of the others.