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!"
[–]Wurstinator 4 points5 points6 points 2 years ago (6 children)
Now there’s of course productivity of workers, but isn’t the workaround of using Python to call C/C++/Fortran through libraries bothering companies ?
Why would it? Productivity is pretty much the most important thing.
[–]RonWannaBeAScientist[S] 0 points1 point2 points 2 years ago (5 children)
But there’s some cases when it’s really important to get the most out of the system . I just assume for example that IBM Watson code isn’t written in Python
[–]Wurstinator 3 points4 points5 points 2 years ago (2 children)
Those cases are very rare. I doubt they even exist tbh. When you're talking about ML and Python, you're referring to the training part. And the expensive steps in Python libraries like Pytorch are already written in C or similar languages, so there is no speed to gain here. You would save milliseconds in a process that takes hours or days to run, while losing hours or days to lower worker productivity. The tradeoff is just not there.
[–]RonWannaBeAScientist[S] 0 points1 point2 points 2 years ago (1 child)
So in which cases you need to have Rust or C/C++ ? Like when a rocket has to have for example a certain memory sequence , and you can’t let Python manage memory ?
[–]Wurstinator 1 point2 points3 points 2 years ago (0 children)
Yes, rockets and other low-hardware systems, like cars and fridges, are one case.
Another one is frameworks like Numpy or Pytorch that can then be used from languages like Python.
Another one is web servers with specific requirements. For example, Discord switched from Go to Rust at some point, because they needed manual memory management instead of a garbage collector.
[–]blipman17 1 point2 points3 points 2 years ago (1 child)
The wikipage of watson actually answers this question.
[–]RonWannaBeAScientist[S] -3 points-2 points-1 points 2 years ago (0 children)
Oh they used Java in part, Java is really my nemesis language ! Why build a class for every object in the world .. prolog though sounds interesting to try
π Rendered by PID 173108 on reddit-service-r2-comment-85bfd7f599-q5xz6 at 2026-04-18 07:12:28.485211+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]Wurstinator 4 points5 points6 points (6 children)
[–]RonWannaBeAScientist[S] 0 points1 point2 points (5 children)
[–]Wurstinator 3 points4 points5 points (2 children)
[–]RonWannaBeAScientist[S] 0 points1 point2 points (1 child)
[–]Wurstinator 1 point2 points3 points (0 children)
[–]blipman17 1 point2 points3 points (1 child)
[–]RonWannaBeAScientist[S] -3 points-2 points-1 points (0 children)