Sutter on Concurrency

Herb Sutter, Software architect at Microsoft and C++ guru, has posted his slides (PDF) from OGDC, a game development conference. His talk was on the challenge programming for concurrency. If you’re not familiar with the subject, the earlier article The Free Lunch is Over is a great starting point.

The free lunch is the assumption that faster processor speeds will fix our slow applications. It’s now well-known that chipmakers are running into the wall in terms of speed, but getting very good at providing multiple processors. The secret of faster or smarter software is to take advantage of those multiple processors with concurrent programming.

A few highlights from the slides:

  • Sutter says that manycore processors are improving rapidly: “Intel could build 100-Pentium chips today if they wanted to.”
  • He observes that the issue is largely solved on the server, but not on the client
  • Locking is inadequate as a way of managing shared state. In particular, it breaks composability
  • He favours transactional memory to reduce but not eliminate dependency on locks: “Version memory ‘like a database.’ Automatic concurrency control, rollback and retry for competing transactions”

Finally, Sutter says:

The concurrency sea change impacts the entire software stack: Tools, languages, libraries, runtimes, operating systems. No programming language can ignore it and remain relevant.

My comment: we’ve seen threading get a little easier in programming languages like C# and Java, thanks to wrapper classes, and in C++ OpenMP can work magic, but what is the radical language innovation that will make concurrency achievable for mortals?

Microsoft PDC postponed due to lack of content

Microsoft’s Professional Developers Conference, which was to take place in October, has been postponed.

The stated reason is that the conference, which is meant to be focused on futures, would have been too late for the current round of developer releases:

By this fall, however, upcoming platform technologies including Windows Server 2008, SQL Server codenamed “Katmai,” Visual Studio codenamed “Orcas” and Silverlight will already be in developers’ hands and approaching launch.

The implication is that PDC would also have been too early for the next round of platform updates.

There are other conferences you can attend for a Microsoft fix. There’s another problem though: Tech-Ed developer in Europe conflicts with DevConnections in Las Vegas – and key speakers like Scott Guthrie and Tom Rizzo are already announced for DevConnections.

I tend to agree about PDC. Talking futures is not what Microsoft needs at the moment. Getting developers to engage with the current crop (WPF, Silverlight) is more to the point.

As for me, my next dev conferences are in London: Google Developer Day followed by Adobe Live/Adobe Developer Day. If you’re going to either and would like to chat, let me know.

 

Technorati tags: , , ,