On Wednesday, 13 January 2021 at 18:58:56 UTC, Marcone wrote:
I've always heard programmers complain about Garbage Collector
GC. But I never understood why they complain. What's bad about
GC?
tsbockman gave a good answer.
In short:
- You need to design the language for GC for it to be a
satisfying solution for interactive applications. For D and C++
it is bolted on... which is not great.
- You will use roughly twice as much memory with GC (you get more
garbage).
- You will get more uneven performance with GC (humans are
smarter).