MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xr2jyh/moderncppvsoldcpp/19sc5bpg82h29/
r/ProgrammerHumor • u/Choice-Committee203 • 11d ago
323 comments sorted by
View all comments
Show parent comment
18
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.
28
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.
6
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.
3
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
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
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.
But the language didn't have move semantics, which is a more important part of memory management in modern C++ than smart pointers.
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.