This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: GC questions.
Han-Wen Nienhuys <hanwen@cs.uu.nl> writes:
> mlivshin@bigfoot.com writes:
> > me neither. that's why I want to keep the smob API *as it is*, so
> > that those who don't generate their Guile glue with SWIG or something
> > won't have to tear their hair out. I'm even going to implement some
> > pretty scary kludges to make it possible with GenGC.
>
> That's interesting. Isn't making smobs work transparently just as
> difficult as making it work for the C call stack (ie. are you going to
> scan all smobs conservatively?)
deity forbid.
it's a matter of making sure that:
0) smob cells don't age and so are scanned every GC (just like now).
1) things pointed at from smobs are not moved (just like now). and I
don't think I'll bother with a moving collector at all, so...
--
Make sure your code does nothing gracefully.