News for hackers. Stuff that matters.
Re:Inside D's GC by dbaupp on Wednesday June 21, 2017 @03:25AM (#14601638)
Iterator invalidation can lead to memory unsafety in C++, usually due to a pointer or reference becoming dangling, but most other languages just treat it as a correctness problem: GC avoids the problem of invalidating pointers. As my parent comment hinted, some languages, like Java, try to detect (some occurrences of) these problems at runtime.

There are no comments on this comment yet.