Posts by this author

May 26, 2009
Post comments count0
Post likes count1

Does Parallel.For use one Task per iteration?

In .NET 4, the new Parallel class provides For, ForEach, and Invoke methods for performing operations in parallel. One mental model that some folks use when thinking about Parallel.For is that it’s equivalent to running one System.Threading.Tasks.Task per iteration, e.g. that a loop like: Parallel.For(0, N, i => {   &n...

.NET Parallel Programming
May 20, 2009
Post comments count2
Post likes count0

Samples for Parallel Programming with the .NET Framework 4

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 t...

.NET Parallel Programming
May 20, 2009
Post comments count0
Post likes count0

.NET 4 MSDN documentation for parallelism

In addition to the Betas of Visual Studio 2010 and the .NET Framework 4 being available for download today, the MSDN documentation for .NET 4 Beta 1 is also available.  This includes quite a bit of useful information about the new parallelism constructs.  Here's a summary of the relevant material, with links: Related to this...

.NET Parallel Programming
May 20, 2009
Post comments count0
Post likes count0

.NET 4 Beta 1 is now available, with parallelism!

We’re very excited that the .NET Framework 4 Beta is now available for public download, as .NET 4 has Parallel Extensions built into its core. You can download the Betas for Visual Studio 2010 and .NET Framework 4 at https://msdn.microsoft.com/en-us/netframework/dd582936.aspx.For more information on what’s new in Beta 1 regarding concur...

.NET Parallel Programming
Feb 19, 2009
Post comments count0
Post likes count0

Getting random numbers in a thread-safe way

It’s very common in a parallel application to need random numbers for this or that operation.  For situations where random numbers don’t need to be cryptographically-strong, the System.Random class is typically a fast-enough mechanism for generating values that are good-enough.  However, effectively utilizing Random in a paral...

.NET Parallel Programming
Feb 12, 2009
Post comments count0
Post likes count0

“Session-in-a-box” on Parallel Programming with .NET 4.0

At PDC 2008 and TechEd EMEA 2008, Daniel Moth delivered several hit talks on parallel programming with the .NET Framework 4.0.  The videos of both of those talks are available online, and he’s since created a series of blog posts capturing the content from those sessions in a way that should make it easy for others to re-present the cont...

.NET Parallel Programming
Nov 18, 2008
Post comments count0
Post likes count0

Parallelism Videos Galore

It's been a hectic and exciting few weeks, and we on the Parallel Computing Platform team have been having a great time talking with customers all over the world, at the PDC, at TechEd EMEA, at DevConnections, through Channel 9, and more.  A lot of the resulting material is now available online for viewing, so do check it out if you're interes...

.NET Parallel Programming
Nov 4, 2008
Post comments count0
Post likes count0

.NET Framework 4.0 Poster for Download

Brad Abrams posted about a cool .NET Framework 4.0 poster which was distributed at the PDC last week and which you can download. Zoom in on the CORE section right in the middle for a glimpse into the parallelism support in .NET 4.0.

.NET Parallel Programming
Nov 4, 2008
Post comments count0
Post likes count0

Using Hyper-V with the Visual Studio 2010 and .NET Framework 4.0 CTP

Last week, we posted about the availability of the Visual Studio 2010 and .NET Framework 4.0 CTP, which includes Parallel Extensions to the .NET Framework.  This preview release is available as a Virtual PC (VPC) image.  Unfortunately, a VPC image isn't great for showcasing parallel processing, as even on a machine with many cores, the gu...

.NET Parallel Programming
Oct 28, 2008
Post comments count0
Post likes count0

Concurrent, Multi-core Programming on Windows and .NET

Thanks to everyone who attended our PDC pre-conference session yesterday on parallelism and concurrency!  We had a wonderful turnout at the event, and David, Joe, and I all had a terrific time. Attached to this post are the slides we presented. (It turns out that the PDC site does allow you to submit an evaluation for a precon.  If you at...

.NET Parallel Programming