
14 Nov
2006
14 Nov
'06
5:52 a.m.
Duncan Coutts wrote:
The problem at the moment with GUIs and GHC's threaded RTS is that there is now way to specify that all the Haskell threads that want to do GUI stuff must run on a single OS thread. It's not impossible to solve but it requires either more support from the RTS or it needs a totally different approach, perhaps using a Haskell-level threading GUI monad rather than the IO monad.
Looks interesting for me. It's not too haskellish imo, when one ends with 2/3 of code being in the IO monad. Although situation probably gets better then more complex algorithms for processing data involved. Are there any attempts to fine grain allowed side effects using several monads?