News for hackers. Stuff that matters.
Re:Why use garbage collection by miratom on Thursday January 22, 2009 @10:46PM (#445889)
I hate the whole argument of the "problem" of hanging/dangling pointers as reason for GC. Is GC only for covering up your n00b mistakes? GC will never be a reasonable management scheme for realtime or limited memory systems, where programmer responsibility and predictable behavior is required.
Re:Why use garbage collection by brl on Thursday January 22, 2009 @11:45PM (#445949)
In the case of dangling pointers, garbage collection just converts a potential heap corruption bug into a probable memory leak instead. Not really an obvious win. At least in C you have to be conscious of memory management in order to successfully write programs that don't crash.