Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory

Keywords: Match:
Intel rev's multicore C++ libraries
Jul. 22, 2008

Intel released a new version of its programming tool designed to help adapt existing applications to multi-core processors. Version 2.1 of Intel Threading Building Blocks (TBB) offers performance improvements, adds a portable affinity mechanism, and improves the task scheduler, easing development for GUIs, network I/O, and artificial intelligence, says Intel.

TBB is a cross-platform, portable library aimed at improving the performance of C++ applications on multi-core processors, such as Intel's recently released Core 2 Duo T9400. Supporting Windows, Linux, Mac OS X, and Solaris, the library comprises a 120KB runtime combined with "template libraries" linked in at compile time, says Intel. TBB implements a task scheduler, memory allocator, and timing counter, along with various generic parallel algorithms, thread-safe containers, and synchronization primitives.


Overview of TBB 2.1 enhancements

Announced this week at O'Reilly's tenth-annual OSCON (Open Source Convention) in Portland, Ore., Version 2.1 improves a number of TBB components, including the task scheduler and memory allocator, says Intel. It also adds the following new components:
  • tbb_threadabstraction
  • parallel_do
  • tbb_allocator
  • blocked_range3d
  • recursive_mutex
Previously, the task scheduler handled blocking tasks using non-portable native threads, which Intel says required additional thread management. The new tbb_threadabstraction component is said to streamline development by supporting blocking tasks without interfering with computational work. Another key feature is the new portable affinity mechanism, aimed at reducing cache changes in chained parallel operations.


Task scheduling in TBB 2.0 (left) and TBB 2.1 (right), which adds blocking task support
(Click either to enlarge)

Additional touted new features in TBB 2.1 include:
  • Support for 1-, 2- or 3-D ranges for more efficient work breakdown
  • Better performance throughout algorithms and containers
  • Choice of any memory allocator
  • Improved APIs
  • Better support for expert users using "black belt" hooks
  • Support for task cancellation and exceptions
  • A compile configuration plugin that makes the library easier to use in Microsoft's Visual Studio
TBB is said to simplify parallel programming by avoiding the low-level coding required with threading packages such as p-threads or Windows threads. It was designed to support "any compiler," including Intel's commercial compilers and the GNU Compiler Collection (GCC), and Intel's commercial compilers, says the company.

O'Reilly's Intel TBB book
(Click for details)

A year ago, OSCON host O'Reilly published the book Intel Threading Building Blocks by James Reinders (see image). According to the author, TBB helps developers adapt their existing applications to perform well on multi-core processors, without having to understand parallel computing theory. They simply choose those parts of their C++ applications that could benefit most from parallelism -- searching and indexing functions, for instance -- and then re-write them around the function calls available in TBB. For further information on the book, see the coverage on our sister website LinuxDevices.com, here.

Availability

TBB 2.1 is available in both open-source and commercial versions starting July 23, says Intel. More information on the free, open-source version should be available here, and more details on Intel's commercial version may be found here.



Related stories:


(Click here for further information)


Windows XP for Embedded Applications
This white paper describes the benefits of using Windows XP when developing embedded applications.

A Manager's Guide to Selecting a Mobile Device Operating System
This white paper offers a comparative review of Microsoft Windows CE and Windows Mobile.

Visual Basic 6.0 to .NET Migration
This paper focuses on the methodology and techniques which Infosys (Microsoft Technology Center) has developed for migrating VB 6.0 Applications to .NET. Our approach ensures a smooth, cost effective, and efficient migration.

Mobile Device Security: Securing the Handheld, Securing the Enterprise
This whitepaper identifies security threats to corporate data on mobile devices and details how mobile devices can become a "backdoor" to the enterprise.

Mobile Device Security: The Eight Areas of Risk
It's common knowledge that adding mobile devices to your network increases security risks. There are multiple facets to mobile security, all of which should be paid close attention to. This E-Guide presents a more in depth look into the eight key areas of securing wireless devices.

Quality Assurance and .NET
This paper discusses best practices for functional, regression and load testing of .NET applications.

SCADA Security in Integrated Networks
As businesses leverage their SCADA systems by integrating them into the business networks, they must also assure the security of the SCADA system.

The Advantages of Small Form Factor HMI
HMIs have mutated and changed with new requirements, and they have become more flexible and capable. And while they've been doing that, they've become smaller and more useful.

9 Critical Requirements for Web Application Security
Learn why your Web applications expose dangerous security breaches and what’s required to effectively protect your Web applications and the sensitive information behind them.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)


Updated! The latest Windows-powered...

mobile phones!

other cool
gadgets

HOT TOPICS
Microsoft targets PNDs with new embedded OS
Microsoft tips .NET MF 3.0 highlights
Microsoft previews Windows Embedded Standard
Microsoft offers free Windows CE 6.0 textbook
Microsoft renames embedded operating systems
Microsoft unveils Windows Mobile 6.1
New Atom models target low-cost PCs
REFERENCE GUIDES
Windows Device Showcase
Intro to Windows Embedded
Intro to Shared Source
Real-time Windows Embedded
Windows Embedded books
Join our Windows Embedded discussion forums:
Windows XP Embedded
Windows CE
Windows Mobile


Windows Embedded developer newsgroups
Windows CE
XP Embedded
PocketPC
Smartphone

Microsoft's Windows Embedded resources
Embedded dev center
Mobile dev center
Windows CE tutorials
XP Embedded tutorials
Windows Embedded seminars
Windows Embedded application categories
3rd-party partners


BREAKING NEWS

• "Windows Mobile" iPhone pwns bloggers
• CompactPCI board sports Penryn
• Windows CE PND sports heads-up display
• ARM9 SoC gets Windows CE BSP
• First Atom-based nano-ITX board?
• HTC spins WiMAX phone?
• Windows Mobile app turns phone into "air mouse"
• Budget smartphone adds GPS, WiFi
• Vest-pocket Vista PC unveiled
• Phones rev'd to Windows Mobile 6.1
• Twin POS systems run WEPOS
• Windows Mobile Firefox "just weeks away"
• Mobile WiMAX service launches in U.S.
• PMP sports head-mounted display
• Windows Mobile app fakes phone calls


MOST POPULAR (last 90 days)
• "Netbook" uses Intel's Atom N270
• Windows CE takes on Linux in low-end netbooks
• Windows Mobile 6.1 phone has GPS
• T-Mobile's Touch Diamond clone does HSUPA
• iPhone-like Windows Mobile device has 16GB of storage
• HTC phone has slide-out keyboard and TV output
• Windows Mobile trouncing the iPhone?
• HTC releases Touch Diamond ROM upgrade
• Sprint upgrades HTC Touch, Mogul
• Intel's Atom powers mini-ITX board
MOST POPULAR (Classics from the vault)
Windows XP Embedded USB boot
Troubleshooting Windows XPe's blue screen "Stop 0x0000007B" error
Asus reveals $190 mini notebook
Windows Mobile 6 SDKs available for download
Windows Mobile VPN client plays with Cisco
HTC adds GPS to Windows Mobile Touch line
Microsoft unveils Windows Mobile 6.1
Guide to HTC's Windows Mobile smartphone platforms
Customizing Windows XP Embedded thin clients
Visual Studio 2008 adds mobile application features

Also visit our sister sites:


Sign up for WindowsForDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Windows is a trademark or registered trademark of Microsoft Corporation in the United States and/or other countries and is used by WindowsForDevices under license from owner. All other marks are the property of their respective owners. WindowsForDevices is an independent publication not affiliated with Microsoft Corporation.