YHC on debian/arm & Nokia 770 , YHC FFI compatibility for gtk2hs ?

Greetings from the SubArctic, I've acquired a Nokia 770 and would like to write and run Haskell apps on it. The Nokia 770 is a slightly modified debian/arm with 64mb ram and 128mb flash. I want gtk2hs for graphic apps, and I want small binaries so I can distribute apps I've written. That leaves out GHC for size, and nhc98 for lack of gtk2hs. I spoke to Duncan Coutts on IRC, he said that running gtk2hs with nhc98 was unlikely, but gtk2hs with YHC was likely. After reading about YHC some, I am particularly enthusiastic about the idea of tiny bytecode programs with a runtime written in C. Duncan said that the points needed to get gtk2hs working with YHC are: * eliminate use of -fglasgow-exts * get the gtkhs build system working with YHC * figure out if FFI calls will be different with YHC A look at http://www-users.cs.york.ac.uk/~ndm/yhc/report.html implies that the FFI doesn't work at all. Is that correct? Are there any other obstacles in the way of getting gtk2hs working with YHC? Thanks, -- Shae Matijs Erisson - http://www.ScannedInAvian.com/ - Sockmonster once said: You could switch out the unicycles for badgers, and the game would be the same.

Hi,
I spoke to Duncan Coutts on IRC, he said that running gtk2hs with nhc98 was unlikely, but gtk2hs with YHC was likely.
I have had some initial discussion with Duncan, its documented at http://www.haskell.org/haskellwiki/Yhc/Gtk2Hs - its certainly a plan!
A look at http://www-users.cs.york.ac.uk/~ndm/yhc/report.html implies that the FFI doesn't work at all. Is that correct?
Yes, but thats only temporary - Tom wrote some initial FFI stuff at some point, its a bit of work but nothing insurmountable (I think). I don't know exactly what it will take to get FFI done (quite possibly just Tom's time, which is sadly in short supply)
Are there any other obstacles in the way of getting gtk2hs working with YHC?
Not that I know of, and in fact Gyhe (http://www.haskell.org/haskellwiki/Yhc/Yhe) is written using Gtk2Hs, so its pretty important that we get Gtk working or we won't be able to distribute a small cross platform evaluator. Thanks Neil
participants (2)
-
Neil Mitchell
-
Shae Matijs Erisson