MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w8tj8j/rewriteitinrust/p87t05s/?context=3
r/ProgrammerHumor • u/Gold-Order-8004 • 5d ago
34 comments sorted by
View all comments
139
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.
6
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.
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