Dan Sugalski wrote: > I doubt there'll be GC pluggbility. (Unless you consider "Ripping out the > guts of resources.c and gc.c and replacing them" pluggability... :) If it > works out that way, great, but I don't know that it's really something I'm > shooting for.
That problem doesn't bother me too much either. If you change your mind though and want to consider pluggability, you might look at Intel's ORP GC interface documentation: http://orp.sourceforge.net/ ORP defines standard traversals, structure queries, write barriers, etc. that allow different GC algorithms to be plugged in. The header file defining the interface is common/include/gc_for_orp.h. It's kind of big, 45k, so I'm not going to post it unless people really want to read it. Another interesting pluggable GC that I read about a long time ago is: http://www.usenix.org/publications/library/proceedings/c++94/attardi.html There was source available, but I've lost the URL. Both of these systems are C++ by the way. - Ken