.NET Parallel Programming

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

What’s New in Beta 2 for PLINQ

Included in the .NET 4 Framework Beta 2 is a more robust and faster version of PLINQ.  Between B1 and B2, PLINQ changes have mainly been under the covers, so hopefully no need to rewrite any of your applications to see the improvements.  1.       Many improvements to performance and scalability2. &...

What’s new in Beta 2 for the Task Parallel Library? (Part 3/3)

Related posts: What's new in Beta 2 for the Task Parallel Library? (1/3) What's new in Beta 2 for the Task Parallel Library? (2/3) Last time, we covered Tasks being detached by default and some refactorings in our multiple-Task continuation APIs.  The final post of this series will discuss Nested Tasks and Unwrap, a Parallel namespace ...

PLINQ Queries That Run Sequentially

The goal of PLINQ is to execute computationally intensive LINQ to Objects queries efficiently by splitting up the work across multiple cores on multi-core machines. However, not all queries are equally appropriate for parallelism.Usually, the best way to use PLINQ is to write short, simple queries with an expensive delegate. This is one ...

What’s new in Beta 2 for the Task Parallel Library? (Part 2/3)

Related posts: Last week, we talked about how TPL adopted a new, better cancellation model.  Today, we’ll cover a change that makes Tasks Detached by Default, some ContinueWhenAll/Any Refactoring, and the handy UnobservedTaskException event.Tasks are Detached by DefaultIn Beta 2, we have changed an important default.  Tasks ...

Parallelism Talks at PDC09

If you’re going to PDC this year, we have four great talks on parallelism coming you’re way and, if you’re not, may we suggest you sign up?We don’t have the exact dates of the talks yet (we’ll let you know when we do) but here are the talks you won’t want to miss!Patterns of Parallel Programming: A Tutorial ...

.NET 4 Beta 2 is here!

The .NET Framework 4 Beta 2 is now available! MSDN Subscribers can download it today, and it will be generally available for download on Wednesday.  More information is available at https://msdn.microsoft.com/en-us/vstudio/dd582936.aspx.  Additionally, one of the really exciting things about this Beta release is that it’s &...