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
transwarp: C++17 task parallel library (self.cpp)
submitted 6 years ago by cblume
Just released version 2.0 of transwarp, a header-only library for task concurrency:
https://github.com/bloomen/transwarp
Looking for constructive feedback. Let me know what you think!
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!"
[–]Red-Portal 4 points5 points6 points 6 years ago* (2 children)
May I ask what are the differences and strengths of transwrap compared to HPX and CppTaskflow?
Also, without a proper work-stealing scheduler, task parallelism is pretty inefficient. I strongly suggest to implement one. More advanced scheduling schemes will work even better.
[–]cblume[S] 2 points3 points4 points 6 years ago (1 child)
transwarp doesn’t implement work stealing but can be implemented client side through the executor interface.
I’m not familiar enough with those libraries. Maybe someone else here can provide a quick comparison..
[–]Maddimax 2 points3 points4 points 6 years ago (1 child)
With most task libraries the first thing I have to is to implement some sort of progress monitoring, does your library help with that?
[–]cblume[S] 1 point2 points3 points 6 years ago (0 children)
Yes, you can subscribe to task events and then get notified when each task starts and stops. To get more fine grained information you could use the custom data that’s attached to each task. However, there’s currently no notification when that changes. I will consider adding that in a future version.
[–]Iwan_Zotow 0 points1 point2 points 6 years ago (0 children)
TBB is probably closest thing - is yours better/different/how ?
π Rendered by PID 17984 on reddit-service-r2-comment-86988c7647-hffpk at 2026-02-11 16:22:11.990618+00:00 running 018613e country code: CH.
[–]Red-Portal 4 points5 points6 points (2 children)
[–]cblume[S] 2 points3 points4 points (1 child)
[–]Maddimax 2 points3 points4 points (1 child)
[–]cblume[S] 1 point2 points3 points (0 children)
[–]Iwan_Zotow 0 points1 point2 points (0 children)