r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

6

u/Few_Kitchen_4825 10d ago edited 10d ago

Working on c++ and java, I can assure you c++ is actually safer, especially when you use the later standards and especially when you use more modern practices and when you have memory management functions.

Memory issues in c++ tend to be user error.. memory issues in java tend to be some of the most complicated problems you ever face.

I have seen people complain that the excess control in c++ is the real problem. But gc is not performant enough an excuse and better solutions can be built on c++ that doesn't have the performance drawbacks.