by fishywang · 2y ago · 0 comments
so nowadays when we say "c++" we mostly mean the works should be replaced by rust, but back then, it's not like that.
I would argue that go successfully replaced c++ in specific domains (network, etc.), and changed your perspective on what "c++" means.
It is still possible to leak resources in Java
You have to fool the GC but it is surprisingly easy to do.
And it’s not like Go didn’t just copy nulls (plus even has shitty initialization problems now, e.g. with make!)
Java is easier than C++ as well, harder to mess things up. That said, Go feels easier again than Java because it got rid of a lot of cruft.