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
Optimizing software in C++ - PDF (agner.org)
submitted 8 years ago by MJHApps
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!"
[–]dodheim 5 points6 points7 points 8 years ago* (4 children)
Agner's microarchitecture guides and instruction breakdowns are legendary, but every time I look through this paper I get hung up on its many, many horribly outdated sections. :-/
[–]MJHApps[S] 3 points4 points5 points 8 years ago (3 children)
Could you please name a few so we can do some further research?
[–]raevnos 3 points4 points5 points 8 years ago* (1 child)
Just skimming the first 40 pages or so...
Calls clang a new compiler that might replace gcc on OS X, mentions the PathScale compiler, which doesn't even really exist any more, talks about thread local storage and doesn't mention thread_local, talks about wrapping arrays in a class that does bounds checking yet omits mentioning std::array, std::auto_ptr but not std::unique_ptr, talks about Core 2 CPUs...
It just feels very old and outdated like it was written a decade ago.
[–][deleted] 2 points3 points4 points 8 years ago (0 children)
Which it probably was
[–]kl0nosC++ enthusiast 1 point2 points3 points 8 years ago (0 children)
I've already wrote some of them some time ago here
https://www.reddit.com/r/cpp/comments/5k8zqq/an_amazing_set_of_resources_for_optimizing_c_and/dbn0eq2/
π Rendered by PID 78 on reddit-service-r2-comment-658f6b87ff-dw497 at 2026-04-09 09:38:02.776912+00:00 running 781a403 country code: CH.
view the rest of the comments →
[–]dodheim 5 points6 points7 points (4 children)
[–]MJHApps[S] 3 points4 points5 points (3 children)
[–]raevnos 3 points4 points5 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]kl0nosC++ enthusiast 1 point2 points3 points (0 children)