Tuesday, November 10, 2009

[Parallel Programming] TechED 2009 – Parallel Programming in .NET 4.0

There are many new features in .NET 4.0 concerning Parallel Programming such as Tasks, PLINQ, Coordination Structures and many more. Most of these were also presented during the session at the TechED.

  • Tasks make it much easier to cope with parallel processing optimizations since they add an abstraction layer. Complicated thread programming is not necessary anymore.
  • Parallel LINQ (PLINQ) is a very easy way to add parallelism to your applications since you just have to add knobs to the LINQ expression and the processing is automatically parallelized.
  • Task Parallel Library (TPL) provides APIs, structures and objects for parallel programming
  • Coordination Structures can then be use inside and outside the code that is parallelized to assure that the processing is correctly done.
  • Visual Studio 2010 will include parallel debugging and tracing and many other feature for parallel programming. Here an example of a parallel stack diagram.


zinc said...

Microsoft’s goal is to simplify parallel programming by taking a holistic approach and providing solutions which span from local to distributed computing and from task concurrency to data parallelism. Microsoft plans to deliver a solution-stack consisting of OS resource management, a concurrency runtime, programming models, language extensions, libraries, and tools, which will make it simpler for both native and managed code developers to safely and productively build robust, scalable and responsive applications. This will also enable industry partners to complement Microsoft’s technologies in order to solve the complex problems associated with developing high-quality parallel software.

Jason De Oliveira said...

Thank you for your summary of Microsoft's strategy concerning Parallel Programming, very useful !!!