ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Modern Memory Management
Subject:   C++ has garbage collection?
Date:   2005-11-09 06:07:51
From:   orichy
Response to: C++ has garbage collection?

Hehe, well, it seems that PHP does indeed have GC, using reference counting. But i wouldn't call it true GC because it's not much different from using shared_ptr in C++, and it has the same problem with cyclic references:


http://www.hudzilla.org/php/18_1_11.php
http://phplens.com/phpeverywhere/?q=node/view/131


BTW: Even though i wouldn't use it, i would like C++ to get GC because that would mean more C++ programmers. :-)


Regards!


1 to 1 of 1
1 to 1 of 1