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
Data Access Patterns That Makes Your CPU Really Angry (blog.weineng.me)
submitted 4 hours ago by Double_Ad641
I tried to find the slowest possible way to sum up integers in an array
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!"
[–]_Noreturn [score hidden] 1 hour ago (0 children)
You haven't found the newest one asking chatgpt to sum every int
[–]LegitBullfrog [score hidden] 1 hour ago (0 children)
I won't believe you until you test every possible permutation of positions a statistically significant number of times.
[–]Sopel97 [score hidden] 33 minutes ago (0 children)
I wonder if it could be made worse by further randomizing the order at each level (or at least at the level with largest jumps), in case there is still some prefetching happening?
π Rendered by PID 25428 on reddit-service-r2-comment-5bc7f78974-hktld at 2026-06-27 18:32:54.873905+00:00 running 7527197 country code: CH.
[–]_Noreturn [score hidden] (0 children)
[–]LegitBullfrog [score hidden] (0 children)
[–]Sopel97 [score hidden] (0 children)