CS 4448 - Spring 1998
Object-Oriented Programming and Design
Discussion 7.2.1
by
Charles Griffis

Garbage Collection in C++: No panacea, but useful
and
Memory allocation and C compatibility
by
Andrew Koenig

Garbage Collection in C++ addresses issues concerning the utilization of garbage collection in C++ and the benefits and pitfalls derived therefrom.  Benefits include: increased programmability and software reliability.  Some concerns raised in the class discussion and in the paper itself include: memory management/system performance and pointer maintenance.

While the benefits to the programmer are obvious, problems associated with garbage collection are generally difficult to discover and/or correct.

C++:  Memory allocation and C compatibility addresses issues concerning the portability and interchangeability of C's "malloc" and "free" and the C++ methods "new" and "delete".



Copyright © University of Colorado. All rights reserved.
Revised: March 5, 1998