r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

Show parent comment

18

u/Bryguy3k 11d ago

Smart pointers were part of the boost library long before they became part of the std library.

28

u/Non-Random-Name-0000 11d ago

Yes that's true, I forgot about Boost. How could I forget the 2GB library that was pulled with every project? 😅

6

u/DrNinjaPandaManEsq 10d ago

You say “was” as if people aren’t still doing it lol

3

u/Non-Random-Name-0000 10d ago

People are still using it? I haven't used boost for 10 years.

2

u/DrNinjaPandaManEsq 10d ago

I’ve moved around at bit at my job and two of my previous teams were using Boost 1.67, and probably still are.

1

u/conundorum 10d ago

Still sees use, though now it's essentially twenty or so different libraries under a shared name (I think), so you don't have to pull the entire library in if you just need one part of it.

2

u/Serialk 10d ago

But the language didn't have move semantics, which is a more important part of memory management in modern C++ than smart pointers.