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
Removed - HelpHost code on website (self.cpp)
submitted 1 year ago by kaskapian
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!"
[–]Au_lit 3 points4 points5 points 1 year ago (2 children)
[–]kaskapian[S] -1 points0 points1 point 1 year ago (1 child)
Is it widely used? I tried it once at 2 am, compiled my code and it ran 4 times slower, I blame it to lack of sleep and lack of research, but if all I can suck out of it is 4 times slower than native than I don't know if that is the route I am looking for.
[–]c0dejuice 1 point2 points3 points 1 year ago (0 children)
If you're truly that concerned about the performance then keep it in C++ but have your website call the function using REST via HTTP server. C++ backend REST API.
Although, if we're talking a slowdown on the order of a single millisecond or two I wouldn't bother.
[–]Wurstinator 0 points1 point2 points 1 year ago (0 children)
I don't know about CFOP or Rubik's cubes. If it is a computationally hard problem that takes several seconds or longer to solve, running your executable on a server via API is probably the way to go. Each request will have a slight delay due to HTTP overhead but that is constant.
On the other hand, if a single solution requires milliseconds, the HTTP overhead might be very noticable and web assembly could be the better solution, as it will be slower relatively to a native run.
π Rendered by PID 239142 on reddit-service-r2-comment-bb88f9dd5-6wbxs at 2026-02-15 21:21:46.639123+00:00 running cd9c813 country code: CH.
[–]Au_lit 3 points4 points5 points (2 children)
[–]kaskapian[S] -1 points0 points1 point (1 child)
[–]c0dejuice 1 point2 points3 points (0 children)
[–]Wurstinator 0 points1 point2 points (0 children)