Of Bounties and Mercenaries
Alexandre Oliva
aoliva@redhat.com
Tue Apr 6 08:21:00 GMT 2004
On Apr 6, 2004, "Stephan T. Lavavej" <stl@caltech.edu> wrote:
> In C++, you can use Resource Acquisition Is Initialization (RAII).
Sure. That, along with reference-counted pointers, can take care of
*some* cases in which you'd like to release memory. It doesn't take
care of cycles, though, and they're quite pervasive in GCC. Besides,
garbage collection can actually be more efficient than reference
counting, if it's done well.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Gcc
mailing list