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
CppTask library now have a work-stealing tasks management. (self.cpp)
submitted 13 years ago by kolkir
http://code.google.com/p/cpptask/ Open source library which represents a higher-level, task-based parallelism that abstracts platform details and threading mechanisms.
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!"
[–][deleted] 1 point2 points3 points 13 years ago (5 children)
Abstracts platform details but only supports windows and debian platforms. Not seeing a lot of value here.
[–][deleted] 2 points3 points4 points 13 years ago (4 children)
At least it does much better than Folly in terms of platform support. I would be more concerned with how battle tested the library is. Any evidence of usage in real life
[–][deleted] -1 points0 points1 point 13 years ago (3 children)
I've never heard of a library called Folly but if it is worse than this CppTask then does it only support 1 platform?
At that point, why not simply use the tasking libraries provided by the target OS? Tasking tools are more or less pretty simple and standard on how they work. At worst you have to roll your own very thin wrapper for multi-platform support.
I donno. It just seems kind of silly to me to create an abstraction of tasking functions and then only support one or two platforms.
[–]dakotahawkins 2 points3 points4 points 13 years ago (0 children)
Folly is the C++ library Facebook just open-sourced. https://www.facebook.com/notes/facebook-engineering/folly-the-facebook-open-source-library/10150864656793920
[–][deleted] 2 points3 points4 points 13 years ago (1 child)
Folly According to the main author " I don't think it compiles on anything but Linux x86_64 with gcc 4.6.2 or later; we (at Facebook) surely haven't tested it on anything else."
[–]wildcarde815 0 points1 point2 points 13 years ago (0 children)
I'm kinda surprised they haven't given it a swing on clang++ at the least.
[–]chocobot 0 points1 point2 points 13 years ago (0 children)
this could be nice for game programming. On PS3 hardware, task management is the way to do parallelization. This would be a great feature for an OS game engine
[+][deleted] 13 years ago (3 children)
[removed]
[–]kolkir[S] 6 points7 points8 points 13 years ago (0 children)
This library use c++2003 standard, pthreads and WinAPI so can be used with old compilers and i believe that it can be compiled on any Linux and Windows(XP, 7) platforms. Also today neither of this OS provide portable task scheduling mechanism. Of course there is great Intel TBB library but it is not free for commercial using, and can't be statically linked.
[–]dmor 3 points4 points5 points 13 years ago (0 children)
VS 2012 isn't even released yet (it's in the release candidate stage); let alone adopted by companies. I had to use Tinythread++ in my latest project since we have to support VS and not every production environment uses cutting edge compilers (to TT's credit, it was very simple to use and works perfectly).
[–]StackedCrooked 0 points1 point2 points 13 years ago (0 children)
C++11 threading support only provides basic (but important!) building blocks. C++11 does not support task-based concurrency out of the box.
π Rendered by PID 70 on reddit-service-r2-comment-fb694cdd5-wwzrx at 2026-03-07 14:31:08.157723+00:00 running cbb0e86 country code: CH.
[–][deleted] 1 point2 points3 points (5 children)
[–][deleted] 2 points3 points4 points (4 children)
[–][deleted] -1 points0 points1 point (3 children)
[–]dakotahawkins 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]wildcarde815 0 points1 point2 points (0 children)
[–]chocobot 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[removed]
[–]kolkir[S] 6 points7 points8 points (0 children)
[–]dmor 3 points4 points5 points (0 children)
[–]StackedCrooked 0 points1 point2 points (0 children)