18 ms·
> 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 gen
by jandrewrogers 5y ago
> 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.
- zozbot234 5y agoYes, yes, but not everyone is running on a supercomputer. Sometimes you need to be able to reuse memory by freeing up unneeded objects.
- setr 5y agoYou should be doing that with or without a GC… unless you’re running on a missile
- jandrewrogers 5y agoThere 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.