[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] let-macro
From: |
Andreas Rottmann |
Subject: |
Re: [Chicken-users] let-macro |
Date: |
Thu, 16 Dec 2004 19:31:02 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Tony Garnock-Jones <address@hidden> writes:
> Ariel Rios wrote:
>> Dunno if
>> it is better to start from scratch or to try to continue with your work.
>> I still don't understand chicken completely so it might be a better
>> exercise to start anew. What do you think?
>
> It is a huge job. Chicken has fairly unique FFI requirements (mostly
> to do with memory management) that make wrapping GTK+ a real
> challenge. (Also the design of GTK+ is itself working against you,
> fairly often.) If you were to start from scratch, perhaps SWIG might
> get you a fair way; I haven't yet managed to get round to
> experimenting with SWIG and chicken. If SWIG isn't going to work for
> wrapping GTK+, then in my opinion a from-scratch rework will end up
> repeating a lot of the code I wrote - but of course I might have
> missed a better way of doing things :-)
>
<plug>
You might also want to investigate the feasibility of writing a
Chicken G-Wrap[0] backend. The guile-gnome backend already provides a
lot of infrastructure for wrapping the GNOME stack of libraries that
might be eleveraged for other bindings as well.
</plug>
Cheers, Rotty
--
Andreas Rottmann | address@hidden | address@hidden | address@hidden
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
Make free software, not war!