.NET Parallel Programming

All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more…

Concurrency Visualizer: A Case Study

Boby George and Pooja Nagpal - testers on the Parallel Computing Platform team responsible for the parallel programming support in .NET 4- built a parallel spell checker algorithm and used the Concurrency Visualizer to analyze and improve the performance and scalability of their implementation.Optimizing Parallel Applications Using ...

Lesser-known Multi-threaded Debugging Support in Visual Studio 2010

We’ve been very excited about the new debugging windows in Visual Studio 2010, namely Parallel Tasks and Parallel Stacks, as well as the newly revamped Threads window, and thus we’ve talked about them quite a bit. For an overview, you can read the MSDN Magazine article at https://msdn.microsoft.com/en-us/magazine/ee410778.aspx, and Daniel ...

Why is TaskContinuationsOptions.ExecuteSynchronously opt-in?

For a relatively advanced feature, I've been surprised how often this question has come up recently. When a task completes, its continuations become available for execution, and by default, a continuation will be scheduled for execution rather than executed immediately.  This means that the continuation has to be queued to the ...

Parallel Computing Sessions at the Visual Studio 2010 Launch

Thanks to everyone who attended our three breakout sessions at the Visual Studio 2010 Launch and DevConnections conference this week in Las Vegas.  Attached to this blog post are the slide decks that were presented at the talks.  The code from the talks is available either as part of our Parallel Programming in .NET 4 samples ...

Parallelism coverage in April 2010 MSDN Magazine

The April 2010 issue of MSDN Magazine is now available, and it has several nice articles that highlight the new parallel programming support in Visual Studio 2010.  Check out Doug Turnure's "Better Coding: Better Coding with Visual Studio 2010" and Sumit Kumar's "Visual C++: Exploring New C++ and MFC Features in Visual Studio 2010...

PDC09 Parallelism Session Videos Now Available

Attendees at PDC09 this past week were privy to quite a few sessions on parallel computing.  Now that the videos of these sessions are online, you can view them as well from the comfort of your own home.  Here are some of the key parallelism-related sessions from this past week:Overview  Managed code in Visual Studio 2010...

Debugging TPL apps in VS2010

The new parallel debugger windows in Visual Studio 2010 (Parallel Tasks and Parallel Stacks) have had many fixes and updates. I have refreshed the existing content and also added new material for Beta 2. Find links to all of it from my blog post on Parallel Debugging.CheersDaniel...