Comment by pizlonator
1 day ago
That’s not the GC’s fault. If you wrote C++ code that malloced a vector object every time you wanted to create a new vector, it would be even worse.
That’s Java’s fault for not having value types (though that’s changing soon maybe).
No comments yet
Contribute on Hacker News ↗