TBB is available on CPAN as a library thanks to Sam Vilain in New Zealand.
As I mentioned in my prior blog, I’ve been in touch with some dedicated fans of Intel Threading Building Blocks (TBB) in New Zealand who have been looking at adding parallelism, using TBB, to WordPress, PHP, HipHop, Perl, and other open source projects. They have published code, papers and even a conference talk on their work. They have a web site http://openparallel.com explaining some of their work.
The PHP (HipHip) + TBB project, which I discussed last time, is hosted at https://github.com/openparallel/hiphop-php
The Perl + TBB project which I’m learning about now is hosted at https://github.com/openparallel/threads-tbb
The tbb.mod module for Perl provides parallel_for and parallel_reduce interfaces to the TBB API functions to Perl programs. Sam wants to add more – esp. pipeline and task. He wants to use parallel_for and parallel_reduce, first, to gain more understanding and community involvement.
I hope you enjoy seeing some activity and results with PHP and Perl so far!
My hat’s off to Sam and Lenz for their work so far, and for telling me about it, and sharing it with all of us!