3 ms·
GC is not an hack. Short of designing your language around ownership (like rust, Cyclone), it is the only way to guarantee memory safety, which is a fundamental
by gpderetta 11y ago
GC is not an hack. Short of designing your language around ownership (like rust, Cyclone), it is the only way to guarantee memory safety, which is a fundamental property for a programming language. The automatic memory management part is almost just a nice bonus on top of that.
And I say this as a C++ programmer that has written very little code on GC'd languages.