| |
| | GC FAQ -- draft |
 | | Garbage collection is a part of a language's runtime system, or an add-on library, perhaps assisted by the compiler, the hardware, the OS, or any combination of the three, that automatically determines what memory a program is no longer using, and recycles it for other use. |
 | | A second benefit of garbage collection, less obvious to people who haven't used it, is that relying on garbage collection to manage memory simplifies the interfaces between components (subroutines, libraries, modules, classes) that no longer need expose memory management details ("who is responsible for recycling this memory"). |
 | | If a program is developed using garbage collection, and the collector is taken away, then yes, the result may contain bugs in the form of memory leaks. |
| www.iecc.com /gclist/GC-faq.html (1941 words) |
|