My question is, as the title says :
On a general level (ease of usage, degree of control over what happens, etc) which one would you recommend for a small parallel program ? Microsoft’s TPL or Intel’s TBB ?
Thank you in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not really easy to answer this. TBB is a C++ template library, while TPL is a .NET library. Assuming you can choose whichever language you like, they both offer similar general-purpose parallel constructs, mainly:
Parallel.Forin TPL andparallel_forin TBBTaskin TPL andtbb:taskin TBBparallel_reducein TBB which can be emulated with plinq in TPLBut again, depending on the language you choose you don’t really have a choice between the two.