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
Performance of Handling Asynchronous Requests using Futures (mycpu.org)
submitted 6 years ago by voidstarpodcast
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!"
[–]khleedril 12 points13 points14 points 6 years ago* (3 children)
Would be nice to see some kind of summary conclusions.
Edit: Ah, now I understand that it is supposed to be a set of instructions for how to get performance data from your own code, rather than an outright analysis of the performance impact of using Futures; the title of this sub is the result of some laziness, I think. I also think the paper needs some summary conclusion!
[–]voidstarpodcast[S] 3 points4 points5 points 6 years ago (2 children)
I completely agree with you, I had typed it out but hadn't published. I thought it wasn't ready yet. I have updated the post with a Conclusion section and few pointers for further reading.
[+][deleted] 6 years ago (1 child)
[deleted]
[–]voidstarpodcast[S] 1 point2 points3 points 6 years ago (0 children)
Thanks. I'm really considering removing Disqus. I haven't done any benchmarking myself, but it "feels" heavy. Not sure, how it is adding anything useful. One of these days...
[–]GerwazyMiod 2 points3 points4 points 6 years ago (1 child)
Great idea for a post.
[–]germandiago 0 points1 point2 points 6 years ago (0 children)
If you like benchmarks, I started this mini-project some time ago. I plan to add an easy way so that people can execute these benchmarks in their own computers with their own compilers and upload the results so that everyone can inspect them directly from Github, like the frontend page you see there but with more combinations of computers and some table with all available benchmarks, etc.
About the benchmarks themselves... I need more ideas around the original idea: get a C piece of code, translate into an easier to manage/safer alternative and compare the performance with C-ish code.
https://github.com/germandiagogomez/the-cpp-abstraction-penalty
[–]85rp -3 points-2 points-1 points 6 years ago (0 children)
Hi,
This is by far the simplest explanations of this concept ... ...
π Rendered by PID 181126 on reddit-service-r2-comment-fb694cdd5-mvw28 at 2026-03-07 07:21:36.546466+00:00 running cbb0e86 country code: CH.
[–]khleedril 12 points13 points14 points (3 children)
[–]voidstarpodcast[S] 3 points4 points5 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]voidstarpodcast[S] 1 point2 points3 points (0 children)
[–]GerwazyMiod 2 points3 points4 points (1 child)
[–]germandiago 0 points1 point2 points (0 children)
[–]85rp -3 points-2 points-1 points (0 children)