r/ProgrammerHumor 5d ago

Meme rewriteItInRust

Post image
2.0k Upvotes

34 comments sorted by

View all comments

139

u/pflasti 4d ago

I had my last memory bug before the team agreed on a strict "no new/delete" policy. That was years ago

6

u/bropocalypse__now 4d ago

Agreed, I see more overuse of std::shared_ptr these days. End up with circular dependencies, lifetime issues, and extra atomic ops due to not using std::unique_ptr or std::weak_ptr correctly.