Interesting Picture: The Difference between Java and C++ Garbage Collection

in #funny • 8 years ago

The Java language provides an automatic garbage collection mechanism, but the implementation is not very good. C++ language has no automatic garbage collection mechanism, so programmers need to manually collect garbage.

Automatic unclean, semi-automatic too violent.

Java

0.gif

C++

0.gif

vote.gif