4 ms·
Meanwhile, people still manage to write memory leaks in garbage collected languages specifically designed to not leak memory.
by blackhole 15y ago
Meanwhile, people still manage to write memory leaks in garbage collected languages specifically designed to not leak memory.
- Retric 15y agoGC is not about preventing memory leaks, it's there to make managing memory easier not automatic. One of it's biggest advantages is the ability to deal with memory fragmentation which is ridiculously hard to do well in C++ style languages.