
Mathias Gaunard-2 wrote:
My "grand" vision is that we will eventually have a C++ concurrency library that allows users to divide their code into potentially-parallelizable tasks and have the library manage the actual parallelization.
I've been waiting for that for a long time, but I don't know of any satisfying approach.
Even OpenMP, which is included in the compiler and is supposed to do that kind of thing, will always parallelize and won't even consider a hierarchy between nested potentially-parallelizable tasks. I've even heard that nesting parallel tasks within other parallel tasks was ill-advised with OpenMP.
For a lot of parallelizable problems, we can never hope for any particularily good programming models in a languages as C++ or with the desktop operating systems we have today. Needless to say, that shouldn't stop us from extracting as much parallel performance as we can from the current software stack. See the first part of my thesis at www.johantorp.com for an in-depth discussion. Best Regards, Johan Torp www.johantorp.com -- View this message in context: http://www.nabble.com/Pondering-Futures-tp21359362p21388144.html Sent from the Boost - Dev mailing list archive at Nabble.com.