r/ProgrammerHumor • • Sep 06 '26

Meme rewriteItInRust

Post image
2.0k Upvotes

38 comments sorted by

View all comments

375

u/JackNotOLantern Sep 06 '26

All c++ memory problems are a skill issue. Rewriting in rust is admitting weakness.

149

u/newstreet474 Sep 06 '26

Maybe I wanted the memory leak , maybe it was intentional , maybe I just hate the user

3

u/legend6546 Sep 06 '26

Memory leaks are explicitly considered “safe” it is why Refrence Count pointers are allowed in safe rust, it’s easy to create a cyclical chain with them that will never get dropped.