This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile, C, and Garbage Collection



>The situations I've run into this problem in the past heve been
>writing guile wrappers to existing C libraries, and I didn't have a
>realistic option to modify the C structures.  "up the proverbial
>creek" in Maciej's words.
>
>But I'm currently working on my own library, and I'm trying to write
>it in such a way that it is not dependent on guile.  i.e.  I'm writing
>a C library for use by C programmers, with an overlying Guile
>interface for smarter, sexier, Guile programmers.

I really think there ought to be graceful solutions to both of these
situations.  Given the nature of garbage collection, Guile gives you a
powerful hooks into that.