Hacker News new | past | comments | ask | show | jobs | submit login

In addition to what adrianratnapala said, it is perfectly fine to have specialized GCs for specific problems, and I suspect that any moderately complex C++ program in fact does (and no, that's not Greenspuring). The problem is using GC as the general memory management solution when 95% of the allocated objects have a single reference or a simple lifetime patter.

A not well known fact is that even the linux kernel as a GC implementation, used to collect file descriptors, but any suggestion to GCing all memory in the linux kernel wouldn't be well received.




I completely agree, but the OP has been pretty clear in this thread that a GC is never the best solution and I'd like to know his alternative.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: