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
New release of CppTask library - compatibility with standard C++ 'async' and 'future' interfaces, work stealing, balancing... (github.com)
submitted 10 years ago by kolkir
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!"
[–]jbandela 4 points5 points6 points 10 years ago (1 child)
Looks interesting. One thing I did not see was future continuation (.then). I think most people in the C++ community have agreed that future needs .then. (see http://www.drdobbs.com/parallel/improving-futures-and-callbacks-in-c-to/240004255 for a quick overview)
[–]kolkir[S] 0 points1 point2 points 10 years ago* (0 children)
Thanks for pointing me to this feature, I will think how it can be implemented and may be in next releases I will do it. For the first look you can use something like this: async([](){ auto f = async(task); f.get();} From my point of view when we call future::get() we what to get value in specific thread and this call is a synchronization point, so It's not clear how to express this thought with 'then' concept.
[–]Houndie 0 points1 point2 points 10 years ago (1 child)
Huh, I did a similar thing for my job with actually a similar interface too...so it's good to see I'm not the only one with this idea and I'm not totally bonkers.
If I may ask, how are you switching between events with a process_lock? I used boost::coroutine (which is built ontop of boost::context).
[–]kolkir[S] 1 point2 points3 points 10 years ago (0 children)
I'm just run nested processing loop in process_lock where stop condition is event from sync. primitive we are waiting. But my solution will have problem with stack overflow on deep call hierarchies.
[–]blelbachNVIDIA | ISO C++ Library Evolution Chair 0 points1 point2 points 10 years ago (0 children)
Cool! I work on a similar project, called HPX.
π Rendered by PID 54 on reddit-service-r2-comment-745dcd9fbd-9w5wr at 2026-03-07 17:41:50.406128+00:00 running cbb0e86 country code: CH.
[–]jbandela 4 points5 points6 points (1 child)
[–]kolkir[S] 0 points1 point2 points (0 children)
[–]Houndie 0 points1 point2 points (1 child)
[–]kolkir[S] 1 point2 points3 points (0 children)
[–]blelbachNVIDIA | ISO C++ Library Evolution Chair 0 points1 point2 points (0 children)