Re: [Boost-users] [thread] comparison with Intel Threading BuildingBlocks
On Wed, July 25, 2007 15:54, Andrew Holden wrote:
Toon Knapen wrote:
I just received (again) some doc on the Intel Threading Building Blocks (TBB) (http://www.threadingbuildingblocks.org/).
I was wondering how the boost.thread developers/supporters would compare TBB with boost.thread (btw: the book of James Reinders on TBB mentions boost.thread) ?
The two libraries are meant to solve different problems. Boost.thread handles situations where the programmer wishes to explicitly manage threads, often giving each thread a distinct task to perform. It would be useful for situations like worker threads in a GUI program. It is also useful I/O-bound threads, which would cause TBB to waste a processor core.
TBB, on the other hand, is useful for situations in which you have a parallelizable task to perform, and you would rather not worry about threading details, like a parallel for loop.
Do you mean that TBB is more like a "future" which might be added to the upcoming tr2?
[...]
With Kind Regards, Ovanes Markarian
Ovanes Markarian wrote:
Do you mean that TBB is more like a "future" which might be added to the upcoming tr2?
It's possible. According to TBB's FAQ, Intel is working with the C++ standards group towards this goal. The FAQ entry can be found at http://softwarecommunity.intel.com/tbbWiki/FAQ/647.htm. The proposal can be found at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2104.pdf.
What is the position of the committee on boost.thread, TBB and futures (also mentioned in this thread). We have been for so long without any standardized threading in C++, so I can not imagine they will add all of the technologies mentioned here. Andrew Holden wrote:
Ovanes Markarian wrote:
Do you mean that TBB is more like a "future" which might be added to the upcoming tr2?
It's possible. According to TBB's FAQ, Intel is working with the C++ standards group towards this goal. The FAQ entry can be found at http://softwarecommunity.intel.com/tbbWiki/FAQ/647.htm. The proposal can be found at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2104.pdf. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Andrew Holden
-
Ovanes Markarian
-
Toon Knapen