[ prog / sol / mona ]

prog


Garbage collection

1 2021-11-07 10:12

Why don't C and C++ programmers use GC?
Wouldn't it be appropriate to use garbage collector when building programs that aren't system software? Also, some say that one could use a GC to detect leaks, but I don't fully understand how that works. Wouldn't a GC make it C/C++ more safe and productive (when programming user applications)?
https://www.hboehm.info/gc/
http://tinygc.sourceforge.net/
https://github.com/Ravenbrook/mps

23


VIP:

do not edit these