Re: lgtk-0.0.3 - experimental gtk bindings for Common Lisp
Frédéric Brunel <[email protected]> Sun, 2 Nov 2003 23:15:48 +0100
| Newsgroups | gmane.lisp.clump |
|---|---|
| Message-ID | <[email protected]> |
>> How about the CL-GTK project? It is referenced from the language >> bindings page on the gtk.org site. What are the differences with your >> bindings actually? > > The long answer :-) is that I don't know in full detail. I started > this project without looking too much at what others did, since > whatever it was, it did not seem to help much. There is clg, untouched > for at least 18 months, and I haven't seen it recomended on c.l.l. nor > anywhere else. > > The socket based approach from cl-gtk seems to me a problem because it > needs a client written in C at the other end of the socket. That > implies writing C, with all the problems that that involves. I wanted > to find a possibility to leverage the extra power CL gives. Once I got > some details cleared, adding functionality seems a breeze. > I ended up essentially reimplementing something like UFFI, which I > hope to use some day to do bindings to other toolkits/software. I will > be looking for another target as soon as I get some more functionality > into lgtk. Ok. I knew there was some problems with cl-gtk and clg (like socket or partial implementations)g. Great you've started a full FFI approach. By the way, I've looked some time ago to GTK bindings for other languages like Python and C# (using Mono). The guys have first developped a way to generate all these bindings from C headers. There is some .defs files describing GTK C headers with S-exprs. Do you know something about that? -- Frederic Brunel