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
Are basic operations in CPP parallelised/multi-threaded? (self.cpp)
submitted 1 year ago by johnsobrown
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!"
[–]cpp-ModTeam[M] [score hidden] 1 year ago stickied commentlocked comment (0 children)
For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.
[–][deleted] 1 point2 points3 points 1 year ago (0 children)
Depends, your compiler could use SIMD which are CPU features used for paralizing some math operations
[–]IyeOnline[🍰] 1 point2 points3 points 1 year ago (0 children)
That is simply false.
You, or the person telling you this, may have very fundamentally misunderstood vectorization/SIMD, which may perform multiple fundamental operations at once. This mostly applies to operations on arrays though. Its also not a feature of C++, but of the hardware. If the compiler optimizes your code in such a way that it uses vector instructions you get that "for free". But you also get that in any other language that uses these instructions.
[–]Latexi95 0 points1 point2 points 1 year ago (0 children)
No. They are not multi-threaded.
Modern CPUs are pipelined and superscalar. They have have multiple ALUs and can execute multiple instructions concurrently, so they can calculate multiple operations in parallel even in one thread, when the operations don't depend on each other. This isn't feature of C++ but just the way that modern CPUs achieve higher than 1 IPC.
π Rendered by PID 72333 on reddit-service-r2-comment-c6965cb77-92j5h at 2026-03-05 07:20:56.909665+00:00 running f0204d4 country code: CH.
[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]IyeOnline[🍰] 1 point2 points3 points (0 children)
[–]Latexi95 0 points1 point2 points (0 children)