From: Axel S. <Axe...@in...> - 2013-01-28 07:08:01
|
Dear Luca, On 27.01.2013, at 15:16, Luca Bruno wrote: > Hi, > I'm a Haskell newbie coming from the Vala world (GNOME, GTK+, etc.). > I've read you are the author of Gtk2hs, thanks for your work. I'm > interested in writing gui applications in haskell. > I've recently tried out haskell-gi. It is obviously still incomplete > but promising. I'd be interested in contributing to a project like > that, though given my low haskell knowledge I'm resilient to work > alone on such a project. > Perhaps, do you have any plan for gtk3hs? Any kind of ongoing work > not yet published? Do you think there's place for gtk in haskell or > there are better solutions? Do you think gtk3 is good in general? > I think Gtk2Hs can address the new features of Gtk3 incrementally. The goal of Gtk2Hs was to also do memory management automatically and perform some abstractions where using the C interface would be rather clumsy. The TreeModel stuff is one example. Using introspection to generate the bindings is certainly an attractive thing to do. But in order to fix up comments, do memory management and to splice-in sensible retrofittings to like the TreeModel stuff, it needs a bit more. You'd probably want to have some specification that says what bindings to generate, which comments to add and where to splice in which code. Then one can think of making things more automatic (e.g. rewriting comments automatically for simple functions). Cheers, Axel |