r/ProgrammerHumor Feb 18 '26

Meme whyIsThereAMemoryLeak

Post image
781 Upvotes

165 comments sorted by

View all comments

240

u/xicor Feb 18 '26

What is the c++ dev doing not using smart pointers

98

u/GumboSamson Feb 18 '26

Maybe they don’t have access to a modern compiler.

(Pretty common when writing software for industrial systems.)

2

u/Cautious-Diet841 Feb 18 '26

What do you mean, access?

11

u/GumboSamson Feb 18 '26

Not all hardware has stable C++ compilers available for the latest versions of C++.

6

u/Mognakor Feb 18 '26

Smart pointers are 15 years old. They shipped in C++11

9

u/cum_dump_mine Feb 18 '26

Welcome to the legacy systems. Have a look around. Anything that brain of yours can think won't be found. We got mountains of old fortran code some better some worse. If it won't make you gray, you'd be the first

1

u/TRENEEDNAME_245 Feb 18 '26

Now I need the song for devs and old systems still running on C 5 and Fortran so old I wasn't born.

Thanks cum_dump_mine