News for hackers. Stuff that matters.
Re:Why is D's garbage collection slower than GO's? by Cloudef on Saturday October 29, 2022 @05:26AM (#33382414)
I actually find it easier to leak with gc than without. Gc effectively hides the problem well, while non-gc is easy to debug with tools like valgrind.
Re:Why is D's garbage collection slower than GO's? by tsimionescu on Saturday October 29, 2022 @05:29AM (#33382428)
GCs don't eliminate leaking, they eliminate use-after-free, and can also be used together with other language design choices to eliminate any kind of memory corruption (like in Java).