6 ms·
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 re
by miratom 18y ago
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.
- brl 18y agoIn 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.