Multicore: New chips mean new challenges for developers

More and more help is available so developers can write apps for the new-generation chips

Intel's multicore app-dev aids

"Absolutely, [multicore software development is] a challenge. It's a pretty big challenge," says James Reinders, director of marketing for Intel's Developer Products Division. Concurrency is a major issue in development, he stresses. "When you write a parallel program, it's easy to make a program nondeterministic, meaning where different outcomes, or logic paths, are possible," Reinders says. Multicore app dev requires a much more complicated thought process about software design than most developers understand, he says. "By and large, the majority of programmers don't have experience with it and are in need of tools and training and so forth to help take advantage of it."

Intel is stepping in to assist developers who may not be able to deal with the paradigm shift on their own. The company offers its Threading Building Blocks template library to help C++ programmers with parallel programming. The Intel Thread Checker helps find nondeterministic programming errors, and the Intel Thread Profiler helps visualize a program to check what each core is doing. Also, Intel has a code library project called Ct, for C for Throughput, that looks at providing building blocks for common data parallelism cases.

Synchronization is important for parallel programming to avoid race conditions, Reinders notes. With a race condition, concurrent conditions aren't properly synchronized, so the order in which they complete affects the outcome. Program deadlocks also can occur: Instructions that execute in parallel each waits for the other to complete, so neither ends up completing.

Microsoft's multicore app-dev aids

Microsoft also is working on parallel computing efforts. "We'll be integrating parallelism into our mainstream [app development] product," Hill says. For example, its Concurrency Runtime provides a common scheduling layer that will give applications to finer control over the resources allocated to them. The technology will be part of the planned Visual Studio 2010 platform and is included in the platform's Community Technology Preview prerelease edition.

Also on tap are extensions to languages, both in native and managed code, for parallelism. Microsoft will look at libraries and services for developers, plus it has developed PLinq, which adds parallelism to its Linq language-integrated query technology. Additionally, the company offers its parallel language extensions, which use the Concurrency Runtime.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection

Tags cpuchipsprogramming

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?