JupiterOnlineMediahttp://www.DevX.com - The know-how behind application development.http://www.EarthWeb.comhttp://www.Internet.com - The Internet & IT Network.
Parallelaware

« Concurrency at SD West: Brian Goetz | Main | Q&A: Some Say It Ain't So »

April 8, 2008

Joe Duffy on Concurrent Code Inspections

It's been 20 years since the concept of source code inspection came into the software development mainstream, and 10 to 15 years since object-oriented code reviews were introduced. In yet another reassuring sign of practical approaches to concurrency, Microsoft blogger Joe Duffy explains how to take a parallel lens to your source before committing it to the codebase. Concurrency, meet agility!

In this essay, sure to be included in his much anticipated book on concurrent .NET programming, Joe Duffy explains what to look for when reviewing code prior to check-in, from shared state to the ever-controversial (yet oft-overlooked) issue of code documentation.

This is an excellent, easily digestible checklist for managed-code programmers. Most interesting is his focus on the .NET Common Language Runtime memory model: "I explicitly permute (often on a whiteboard or in notepad) the sections of the code that involve shared loads and stores, using knowledge of the legal reorderings given our memory model, to see if the code breaks."

A useful resource, and an encouraging sign...

Posted by Alexandra Weber Morales on April 8, 2008 8:17 PM

Comments!!