Graphics library very slow

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Aug 7 09:55:44 EDT 2006


On Mon, 2006-08-07 at 09:04 -0400, Vyacheslav Akhmechet wrote:
> The latest stable release seems to have some sort of a problem with
> the graphics library (the general one as well as the wrapper used in
> SOE). Opening a window takes more than a couple of minutes (on Windows
> XP). When I run an identical version of the code through Hugs, the
> window opens immediately. Am I doing something wrong?

Unfortunately this code is currently broken with GHC on windows. No one
has fixed it because the code is low level, ugly and few people
understand it.

There is an alternative implementation of the SOE api based on Gtk2Hs.
This is currently being reviewed by the original SOE author. The aim is
to make it match the original semantics as closely as possible. The code
is currently available in the development version of Gtk2Hs.

Duncan



More information about the Glasgow-haskell-users mailing list