Python 2.0

Yukihiro Matsumoto matz at
Mon Jun 7 08:10:49 CEST 1999

adjih at writes:

|  It is true that it shouldn't be hard to make a mark-sweep collector
|that is working in practice on many platforms.
|  Pedantically I doubt that ANSI-C tells you the current stack top
|address, or guarantees that the whole address space between the current
|stack pointer and this top stack address is stack space. But I agree
|that actual C compilers wouldn't do something too stupid, we
|shouldn't care about this :-)

You don't have to know stack address to implement mark-sweep register,
unless you want to make it conservative.  The mark-sweep GC can be
written in ANSI-C portable.

More information about the Python-list mailing list