This is the mail archive of the guile@sources.redhat.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: Again: Guile + Boehm's gc


Hello All,

I have a slightly different take on using Boehm's GC in guile.  As far
as I can see, if the goal is to make Guile's GC transparent to the
application it will be necessary to replace malloc with Boehm's
malloc.  That's a pretty intrusive requirement.  For instance, what
happens if I want to use tools like electric-fence or ccmalloc (malloc
debuggers) to look for dangling pointers.  That works with the current
GC, it doesn't work when BGC has replaced malloc.

It is possible to use GC_malloc (from boehm), for guile, and regular
malloc for the rest of the application, but I'm pretty sure that would
require as many special rules as the current GC.  Hopefully, I'm
wrong.  There is a certain appeal in guile using a standard, well
known, GC that "just works", but I'm afraid that BGC may not be that
transparent.

Regards,

Clark

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