Re: Ecru REPL bugs
Allen Short <washort-TyWPi3/[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <20080721144605.29191.888405915.divmod.quotient.795@ohm> |
On Mon, 21 Jul 2008 07:48:01 -0400, Sandro Magi <[email protected]> wrote: >There's libGarbageCllector [1] if you're in a hurry to do this. It's a >bit wasteful of space, and not as incremental as it purports to be, but >it's the only GC available as a portable C library that I'm aware of >(other than the conservative libgc that is). Interesting -- I'll have a look. In the short run, it looks like the main problem is use of Python's 'ctypes' FFI: it can keep pointers to objects that the GC can't see. If I rewrite more of the bridge code in C, these pointers will stay on the C stack and thus be found during GC.