Python vs Ruby

A.M. Kuchling amk at mira.erols.com
Fri Jan 26 20:00:06 EST 2001


On Fri, 26 Jan 2001 13:24:36 -0500, D-Man <dsh8290 at rit.edu> wrote:
>Of course.  Mark-and-sweep is an algorithm for Garbage Collection and
>Reference Counting isn't garbage collections.  Both gc and ref
>counting are forms of /Automatic Memory Management/.

Hrm... In the Jones/Lins book on garbage collection, section 2.1 and
chapter 3 are on reference counting, and they refer to it as "one of
the classial garbage collection algorithms", which settles the matter
for me; clearly reference counting *is* a form of GC, just one with a
sizable limitation that may or may not be a problem for a particular
application.  

--amk



More information about the Python-list mailing list