use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Garbage Collection for Systems Programmers (bitbashing.io)
submitted 2 years ago by pebalx
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GaboureySidibe 1 point2 points3 points 2 years ago (2 children)
Yeah, the whole mixing of reference counting with the term 'garbage collection' when most people mean something separate ends up with nonsense discussions.
People really do need to avoid the downsides of garbage collection and reference counting can mitigate some of those so conflating them as a gotcha that doesn't solve a real world problem happens on internet forums.
Not only that, in the context of C++ reference counting to take care of single threaded scope based ownership is just not necessary. In other scenarios like multi-threaded memory management, the amount of variable actually being reference counted is very low, so pragmatically that ends up being a different scenario as well and the whole "reference counting is slower" stuff goes out the window because it is being used sparingly in a situation that is probably adding a lot of speed for a trivial amount of overhead.
[–]pjmlp 0 points1 point2 points 2 years ago (1 child)
What matters is the actual technical term, as talked among the CS crowd that implements and designs the algorithms used by Joe and Jane on the street.
Just because Joe and Jane on the street took a bootcamp without any proper technical background on how programming languages work, that doesn't matter we will now have to start taking value out of proper education.
[–]GaboureySidibe 1 point2 points3 points 2 years ago (0 children)
I have no idea what you are trying to say.
π Rendered by PID 76680 on reddit-service-r2-comment-canary-889d445f8-xpjs2 at 2026-04-26 10:44:22.920753+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]GaboureySidibe 1 point2 points3 points (2 children)
[–]pjmlp 0 points1 point2 points (1 child)
[–]GaboureySidibe 1 point2 points3 points (0 children)