Modern Memory Management
Subject:   C++ has garbage collection?
Date:   2005-11-08 13:25:49
From:   Lunchy
Response to: C++ has garbage collection?

This is kinda funny. I honestly don't know anything about GC in PHP, but since it was used in conjunction with Perl and Java, I assumed it did, much like I would have done if I didn't know anything about C++! ;)


Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • C++ has garbage collection?
    2005-11-09 06:07:51  orichy [View]

    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:

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