SDP 2009: Parallel Programming with .NET 4.0 and Visual Studio 2010
A few days ago, at the Sela Developer Practice, Eran and I delivered a session titled “Parallel Programming with .NET 4.0 and Visual Studio 2010”. In this session we wanted to highlight the new features for parallel programming in .NET 4.0 – the Task Parallel Library and PLINQ – as well as the new Visual Studio 2010 features in the debugging and profiling areas.
We started with what we call explicit parallelism – manually creating tasks and specifying what to do when they execute and when they complete. We used tasks to show some neat design patterns such as a pipeline of tasks and a tree of tasks. Then, we moved to implicit parallelism – using the facilities of the runtime to concurrently schedule a for loop and a foreach loop. At the end of the session we showed the new debugger windows and the new concurrency profiling mode.
The demos and slides that we used can be downloaded from here. If you’re looking for more comprehensive samples, don’t miss the recently updated Microsoft samples for Parallel Programming.
There will be video recordings of the conference available to attendees at the conference website, so don’t forget to check back.