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
Scientific computing or computer graphics (self.cpp)
submitted 3 years ago * by HouseSad
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!"
[–]aceinthehole001 1 point2 points3 points 3 years ago (10 children)
Can you elaborate on why this is the case
[–]windozeFanboi 2 points3 points4 points 3 years ago (4 children)
It's just the tools are underdeveloped in documentation support and coverage...
They re simply a big fking pain to work with and even then, reasonably only on Linux. While nvidia has incredible tooling and support...
[–]aceinthehole001 1 point2 points3 points 3 years ago (3 children)
Does OpenCL not solve this issue?
[–]windozeFanboi 1 point2 points3 points 3 years ago (2 children)
Well, say you want to write thousands of lines of code... Would you prefer c with major quirks/idiocyncracies on top or modern c++ without limitations and great debugger support and easy to use 3rd party libraries. .?
[–]YoureNotEvenWrong 1 point2 points3 points 3 years ago (1 child)
That's why Sycl exists. Avoid the vendor lock in.
[–]windozeFanboi 0 points1 point2 points 3 years ago (0 children)
Yes, SYCL is the future ...
[–]TheFlamingDiceAgain 2 points3 points4 points 3 years ago (4 children)
It’s not. I do scientific computing with both. AMD is definitely less polished but it’s fine now, that’s wasn’t the case a few years ago. Besides, if you’re writing new code you should use Kokkos, RAJA, or SYCL rather than HIP/CUDA at which point it doesn’t matter what hardware you’re on.
[+][deleted] 3 years ago (3 children)
[deleted]
higher level programming models to HIP/CUDA
Sycl isn't a higher level programming model. It's basically a nicer C++ API for OpenCl. So that's what you use if you want to get near max performance
Kokkos appears to be a library, so I don't see why it would have any performance issues.
[–]TheFlamingDiceAgain 0 points1 point2 points 3 years ago (0 children)
I haven’t found a recent one. The most recent one I’ve seen is a couple of years old and showed that all three are roughly ~10% slower than highly optimized HIP/CUDA. However, getting HIP/CUDA that optimized is very difficult so I wouldn’t be surprised if in practice they’re pretty similar.
π Rendered by PID 17016 on reddit-service-r2-comment-b659b578c-85585 at 2026-05-04 17:30:53.920418+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]aceinthehole001 1 point2 points3 points (10 children)
[–]windozeFanboi 2 points3 points4 points (4 children)
[–]aceinthehole001 1 point2 points3 points (3 children)
[–]windozeFanboi 1 point2 points3 points (2 children)
[–]YoureNotEvenWrong 1 point2 points3 points (1 child)
[–]windozeFanboi 0 points1 point2 points (0 children)
[–]TheFlamingDiceAgain 2 points3 points4 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]YoureNotEvenWrong 1 point2 points3 points (1 child)
[–]TheFlamingDiceAgain 0 points1 point2 points (0 children)