Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python uses reference counting with GC as a fall-back. RAII is basically reference counting with destructors, but it's not very useful if the object lifetimes are not easy to reason about. The optional GC (for circular references) greatly complicates things.

[1] http://arctrix.com/nas/python/gc/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: