Jython, GILs and object locking.

Andrew Dalke adalke at mindspring.com
Wed Oct 15 23:20:22 CEST 2003


Carl Banks:
> Of course, that would require a whole new garbage collection scheme.
> But honestly, that's probably simple compared to getting rid of
> reference counting and the GIL.

But if you do that you should keep support for ref counting,
because there are some C libraries which are very hard to
deal with unless objects are deallocated in just the right order,
and ref counting has the nice characteristic that you know when
objects will be cleared (excepting the lack of defined order
when objects go out of scope).

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list