May 20th, 2009

Samples for Parallel Programming with the .NET Framework 4

Stephen Toub - MSFT
Partner Software Engineer

Along with the release of the .NET Framework 4 Beta 1, we’ve just published a slew of samples that demonstrate using Parallel Extensions in a variety of ways.  You can download these from Code Gallery at https://code.msdn.microsoft.com/ParExtSamples.

These samples include raytracers, a sudoku game, an image colorization algorithm, solvers for the n-queens problem, fractal image generators, and more.  The samples include code written to use Parallel Extensions from C#, Visual Basic, F#, and C++/CLI.  They include examples of using the Task Parallel Library, PLINQ, new coordination data structures, and even databinding a WPF UI to a collection that has data stored into it from a background thread. 

On top of all of this, the samples include a project called “Parallel Extensions Extras”, which features a healthy portion of extension methods for .NET 4 types, new data structures to augment what’s being shipped in .NET 4, custom schedulers for TPL, and lots of other goodness.  Definitely worth a perusal.

Enjoy!

Author

Stephen Toub - MSFT
Partner Software Engineer

Stephen Toub is a developer on the .NET team at Microsoft.

2 comments

Discussion is closed. Login to edit/delete existing comments.

  • Richard Boyer

    The link to the samples is going to Browse Samples but the samples are nowhere to be found. Help please!

    • Stephen Toub - MSFTMicrosoft employee Author

      It looks like the samples from 2009 are no longer available.