In message <4c82b097$0$1661$742ec...@news.sonic.net>, John Nagle wrote:

>     Personally, I'd like to have reference counting only, an enforced
> prohibition on loops (backpointers must be weak pointers), RAII,
> and reliably ordered finalization.

Is there a cheap way of checking at runtime for circular structures?

>     A big advantage of reference counting is that finalization happens
> in the thread that releases the object, and in the correct order.
> GC and finalization/destructors do not play well together at all.
> Microsoft once tried to get the hard cases to work right.  See
> "managed C++".  Not a happy story.

Thank you for that. Another arrow for my anti-GC quiver. :)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to