Original URL: http://www.theregister.co.uk/2007/07/25/intel_tbb_opensource/
OSCON Hoping to inspire people to write code that can run on its multi-core processors, Intel has open sourced one of its development packages.
Users of all shapes and sizes can now download the code for Intel's Threading Building Blocks (TBB) – a C++ template library that caters to the design of parallel code. By open-sourcing this product under the GPLv2 (General Public License), Intel expects more developers – particularly those playing with Linux – will give parallel programming a go. This is a self-serving effort in that Intel desperately needs an influx of parallel code in the coming years, so that software will run well across multi-core chips.
Intel pitches TBB as a way to remove some of the headaches associated with parallel programming, where you split up code and run it across a number of systems – in this case, cores – at the same time. Most developers have relied on writing single-threaded code that can run faster and faster as Intel or AMD's ups the GHz of its chips. These chip makers, however, have started to place less emphasis on increasing clock rates, opting to pack chips full of slower cores instead. It's unlikely that the software industry will see historical performance gains on these multi-core chips without embracing parallel programming – quickly.
TBB creates an abstraction layer that lets developers sidestep threading packages such as p-threads or Windows threads.
James Reinders, a senior engineer at Intel speaking here at the OSCON show, described TBB as a set of algorithm templates with a "well-defined" API (application programming interface) for its task scheduler. There's also a scalable memory allocator "competitive with anything out there."
TBB works with Microsoft, GNU and Intel compilers and should work with Sun's compiler in the near future. It also works with both weak and strong memory ordering.
Obviously, the software has been geared for Intel's chips, although it has been run on a G5-based Mac and could be taken to new chips now that it's open source. Linux, Windows, Mac OSX, Solaris and FreeBSD are all supported operating systems.
Intel offers commercial support for TBB 2.0 at $299. The commercial version of the software was included with the release of Intel C++ Compiler Professional Editions 10.0.
One very important note is that Intel has a TBB contest in play. Only open source coders need apply (http://www.threadingbuildingblocks.org/).
In addition, have a look-see as the mobile Linux project (http://moblin.org/). ®
Intel nets parellel programmer top picks (6 February 2008)
http://www.theregister.co.uk/2008/02/06/intel_straw_poll/
AMD aims to embrace and extend itself around parellelism (14 August 2007)
http://www.theregister.co.uk/2007/08/14/amd_lwp_extensions/
Cries for help go out as open source mogul's radar breaks (28 July 2007)
http://www.theregister.co.uk/2007/07/28/oscon_oreilly_radar/
Facing up to parallelism (2 July 2007)
http://www.theregister.co.uk/2007/07/02/smith_parallel_coming/
A postcard from Intel in Lisbon (19 April 2007)
http://www.theregister.co.uk/2007/04/19/intel_parallel_perish/
What's happening in the world of data warehouse appliances? (22 February 2007)
http://www.channelregister.co.uk/2007/02/22/data_warehouse_appliances_update/
Students protest balluting Vista? (13 October 2006)
http://www.theregister.co.uk/2006/10/13/letters_1310/
Pre-AMD, ATI preps novel server charge (19 September 2006)
http://www.theregister.co.uk/2006/09/19/ati_gpgpu/
Line up for parallelism (15 September 2006)
http://www.theregister.co.uk/2006/09/15/future_parallel/
AMD reverse multi-threading tech 'does not exist' (17 July 2006)
http://www.reghardware.co.uk/2006/07/17/amd_reverse_ht_not_real/
Deconstructing databases with Jim Gray (30 May 2006)
http://www.theregister.co.uk/2006/05/30/jim_gray/
© Copyright 2008