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

> GC is actually a hard requirement for some problem domains such as anything making heavy use of general graphs.

This is manifestly false. I used to write general graph analysis kernels on supercomputers. We used (old-style) C++ and never had an issue with memory management. Your assertion is assuming a naive implementation that would have offered poor performance regardless.




Yes, yes, but not everyone is running on a supercomputer. Sometimes you need to be able to reuse memory by freeing up unneeded objects.


You should be doing that with or without a GC… unless you’re running on a missile


There is no implication that memory is not being reused. You seem to be assuming how graphs are represented in large-scale systems which are not actually correct in practice.




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

Search: