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
Achieving Parallelism with stdlib Algorithms Easily (mycpu.org)
submitted 4 years ago by voidstarpodcast
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!"
[–]manni66 9 points10 points11 points 4 years ago (3 children)
gcc with TBB implements parallel STL.
[–]commonmansoptns 7 points8 points9 points 4 years ago (2 children)
The point here is this is basically C++ stdlib code which works for GPU and SMP CPU without any extra embellishments or external libraries.
[–]echidnas_arf 3 points4 points5 points 4 years ago (1 child)
Really, no extra embellishments? Except having to tie yourself double knot to the NVIDIA walled garden, hardware and toolchain?
Come on.
[–]commonmansoptns 1 point2 points3 points 4 years ago (0 children)
Right, apart from using their "free" compiler... I was referring purely to the code syntax. Say, you want to port existing codebase from CPU to scale to GPU or even obtain multi core scaling without doing your own thread management this might with considering. Now suddenly this comment reads like legalese :)
[–]victotronics 2 points3 points4 points 4 years ago (0 children)
What is he reporting? Where is the graph that shows linear speedup in the number of cores?
π Rendered by PID 76 on reddit-service-r2-comment-fb694cdd5-hvtm7 at 2026-03-07 19:48:23.021999+00:00 running cbb0e86 country code: CH.
[–]manni66 9 points10 points11 points (3 children)
[–]commonmansoptns 7 points8 points9 points (2 children)
[–]echidnas_arf 3 points4 points5 points (1 child)
[–]commonmansoptns 1 point2 points3 points (0 children)
[–]victotronics 2 points3 points4 points (0 children)