.NET Parallel Programming

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

Burton Smith on Channel 9

Burton Smith is a Technical Fellow at Microsoft and an industry leader in the fields of parallel and high-performance computing.  As part of a new video series we've kicked off, the folks at Channel 9 have posted a terrific hour-long interview with Burton about the past, present, and future of parallel computing.  Definitely check it...

Parallel Aggregations in PLINQ

Quick Overview of LINQ Aggregations In order to explain the issues we encounter when parallelizing aggregations in PLINQ, let's first take a quick look at how aggregations work in LINQ.Aggregation is an operation that iterates over a sequence of input elements, maintaining an accumulator that contains the intermediate result. At each step, a ...

Debugger display of PLINQ queries

Sometimes very simple additions to an API or implementation make me happy.  One such nicety in the CTP of PLINQ is the implementation of ToString on the concrete types that represent query operators.  These implementations provide a textual representation of the query structure, which can be very nice for debugging purposes. ...

F# and the Task Parallel Library

Over on his blog, Don Syme has a post about F# and Parallel Extensions: "Over the coming year I expect we'll be seeing this library used very widely from F#, and we'll eventually be using the TPL as a key underlying technology for F# asynchronous workflows. TPL excels at CPU-intensive parallelism and exploiting multiple cores, ...