LWN.net Logo

Python slithers into Wesnoth

Python slithers into Wesnoth

Posted Jan 19, 2009 3:29 UTC (Mon) by njs (subscriber, #40338)
In reply to: Python slithers into Wesnoth by rwmj
Parent article: Python slithers into Wesnoth

> shared_ptr<> is just reference counting, ie. the worst, slowest, most invasive form of garbage collection. Please don't confuse this with advanced garbage collectors.

Good points -- but I'm not sure who you're arguing with?

(Though of course everything old is new again -- I have heard that some cutting-edge true garbage collectors use reference counting because it allows them to optimize reference graph walking -- there cannot exist an unreachable cycle rooted at any object that has not recently had its reference count decremented to a non-zero value. I just like sharing that because while almost certainly useless to know, it's a *super* neat trick.)


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds