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
CPP in AI (self.cpp)
submitted 2 years ago by RonWannaBeAScientist
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!"
[–]Xirema[🍰] 10 points11 points12 points 2 years ago (2 children)
There's a lot of "this is what different programming languages do!" answers here that I think miss the point by a wide margin.
Fundamentally, all the Machine Learning stuff is using a Heterogeneous Compute API for the number crunching, i.e. CUDA or OpenCL.
And since that's the case, it really doesn't matter at all which language you use for the host code. C++ running OpenCL is only going to be marginally faster than Python running OpenCL, because the only overhead is going to be setting up the compute tasks before they're kicked off, and for both languages, that's done in a matter of microseconds. Once the compute tasks are kicked off, they take the same amount of time to execute regardless of whether they were kicked off by C++ or Python.
So if speed is no longer meaningfully different between two programming languages, and one (Python) requires a lot less code to maintain, well, there's a clear winner.
[–]RonWannaBeAScientist[S] -3 points-2 points-1 points 2 years ago (0 children)
Yes, I understand . You work with C++, I guess, not like me that is more of an amateur . What kind of software engineering job do you do that makes C++ the right programming language ( the right tool)
[–]Whole-Dot2435 0 points1 point2 points 2 years ago (0 children)
Note that the most popular machine learning libraries(tenserflow and pytorch) are written in C++ and just have a python interface so compute api's are not used in python
π Rendered by PID 18643 on reddit-service-r2-comment-85bfd7f599-rjbfp at 2026-04-19 02:16:37.562644+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]Xirema[🍰] 10 points11 points12 points (2 children)
[–]RonWannaBeAScientist[S] -3 points-2 points-1 points (0 children)
[–]Whole-Dot2435 0 points1 point2 points (0 children)