[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell
Subject:    Re: advice wanted on GUI design patterns
From:       Adrian Hey <ahey () iee ! org>
Date:       1999-10-02 14:04:09
Message-ID: E11XPkb-000KxJ-0A () finch-post-10 ! mail ! demon ! net
[Download RAW message or body]

On Sat 02 Oct, John Atwood wrote:
> Adrian Hey wrote:
> > I have none, but I think you need concurrency to do it properly,
> 
> Cardelli & Pike claim otherwise with their Squeak language. It compiles
> concurrent UI channels into sequential C. The Paper's on Cardelli's home
> page.  In Haskell, one might use something like the R (resource) monad
> from the latest edition of the "Gentle Introduction...".

I've had a quick look at the paper you mention. I would say that Squeak
was a concurrent language, but Cardelly & Pike have managed an interesting
sequential implementation which doesn't need all the usual baggage one
would normally associate with concurrent applications. I think you probably
could do something similar in Haskell.

The real reason why I think concurrency is needed is because I hate
hour glasses. It's nice if the whole application doesn't freeze if
some operation requires long computation. With concurrency you can
often keep document windows, dialogs etc 'live' during periods of
prolonged computation. I don't think the approach used in Squeak is
much help here.

Regards
-- 
Adrian Hey




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic