Garbage Collection Debate

Discussions center on the pros, cons, performance implications, and specific implementations like Boehm and real-time garbage collectors in programming languages.

📉 Falling 0.5x Programming Languages
6,065
Comments
20
Years Active
5
Top Authors
#9830
Topic ID

Activity Over Time

2007
10
2008
31
2009
84
2010
100
2011
160
2012
266
2013
276
2014
340
2015
356
2016
427
2017
443
2018
328
2019
454
2020
424
2021
385
2022
529
2023
517
2024
459
2025
455
2026
21

Keywords

GC GP RAII stackoverflow.com IIUC INT DDG ARC SBCL unrealengine.com gc garbage garbage collection collection collector java garbage collector memory collected automatic

Sample Comments

cosarara97 • Dec 19, 2016 • View on HN

Thoughts on the conservative garbage collector? How often is it a problem?

azth • May 6, 2014 • View on HN

GC is not the answer to everything.

shakna • Dec 20, 2019 • View on HN

The Boehm GC seems to do both internally.

iopq • Apr 20, 2016 • View on HN

It's tricky even with a GC.

p0nce • May 15, 2019 • View on HN

Having a GC doesn't "sacrifice performance" in itself

thedeemon • Dec 21, 2016 • View on HN

A simpler language with a GC makes it go away.

CyberDildonics • Jan 19, 2017 • View on HN

GC is not easier when you care about how and when memory is allocated/deallocated

azinman2 • Nov 20, 2015 • View on HN

Few applications need this... mostly in the financial space. The GC is quite good at quick temp objects these days.

amedvednikov • Oct 19, 2019 • View on HN

There will be no GC, see my reply above.

hellofunk • Feb 7, 2017 • View on HN

The risk of memory problems don't disappear because of any form of GC. The problems are just different, and leaks are still quite possible.