30 Nov
2004
30 Nov
'04
5:56 p.m.
Thanks Keith, passing along to the crew...
Bryce
On Tue, 30 Nov 2004, Keith Packard wrote:
I've been using a garbage collector in C for about twenty years which is different from the Boehm system.
advantages:
- Completely portable -- no machine dependent code at all
- Integrates with malloc/free using code
- Precise pointer knowledge - the set of referenced objects is known,
not discovered.
disadvantages:
- Requires stylized function call/return macros both where the
allocator is used as well as in at least one place above all allocation calls in the call graph.
It's part of the nickle language implementation (http://nickle.org) and has been used in several other projects to good effect.
-keith