Showing results for October 2009 - .NET Parallel Programming

Oct 30, 2009
0
0

PLINQ Queries That Run Sequentially

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

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 example of ...

Oct 27, 2009
0
0

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

Danny Shih
Danny Shih

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 are now...

Parallel ExtensionsTask Parallel Library.NET 4
Oct 23, 2009
0
0

Parallelism Talks at PDC09

phillips.joshua
phillips.joshua

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 on Fu...

Oct 19, 2009
0
0

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

Danny Shih
Danny Shih

Related posts: Visual Studio 2010 and .NET 4 Beta 2 is here!  In terms of completeness and readiness for production coding, Beta 2 promises to be much better than Beta 1, and TPL is one component that delivers significant improvements over what was previously available.  To get you excited about it, this series of posts details...

Parallel ExtensionsTask Parallel Library.NET 4
Oct 19, 2009
0
0

.NET 4 Beta 2 is here!

Stephen Toub - MSFT
Stephen Toub - MSFT

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 “go-...

Parallel Extensions.NET 4Visual Studio 2010
Oct 16, 2009
0
0

Parallel Computing at PDC09 and TechEd Europe 2009

Stephen Toub - MSFT
Stephen Toub - MSFT

It’s fall, and that means conference season!  In November, members of the Parallel Computing Platform team will be descending upon both PDC09 in Los Angeles and TechEd Europe 2009 in Berlin.  We’re extremely excited to see all of you there and to discuss the new support for parallel computing that’s coming in Visual Stud...

Visual Studio 2010Talks
Oct 16, 2009
0
0

Parallel Computing Presentations in Michigan, Ohio, Kentucky, and Tennessee

Stephen Toub - MSFT
Stephen Toub - MSFT

In a week, I’m going to be traveling through Michigan, Ohio, Kentucky, and Tennessee, speaking about parallel computing, Visual Studio 2010, and .NET 4, primarily at corporations during the day and at user groups in the evenings.If you’re in the area and interested, please do attend, and I look forward to meeting you!  A list of ev...

Parallel Extensions.NET 4Visual Studio 2010
Oct 15, 2009
0
1

Task.Wait and “Inlining”

Stephen Toub - MSFT
Stephen Toub - MSFT

“What does Task.Wait do?” Simple question, right?  At a high-level, yes, the method achieves what its name implies, preventing the current thread from making forward progress past the call to Wait until the target Task has completed, one way or another.  If the Task ran to completion, Wait will return successfully.  If th...

Parallel ExtensionsTask Parallel LibraryThreadPool
Oct 12, 2009
0
0

Parallelized Map and Filter Operations

Stephen Toub - MSFT
Stephen Toub - MSFT

Common operations like map and filter are available in parallelized form through PLINQ, though the names differ.  A map can be achieved with PLINQ’s Select operator, and a filter with PLINQ’s Where operator.For example, I could implement a ParallelMap operation that takes in one array and returns another as follows: public static...

Parallel ExtensionsTask Parallel Library.NET 4
Oct 5, 2009
0
0

Choosing Between the Task Parallel Library and the ThreadPool

Danny Shih
Danny Shih

If you’ve been following the development of the Task Parallel Library (TPL), or if you’re an avid reader of this blog, you’re likely aware that the default scheduler in TPL is based on the new and improved ThreadPool in .NET 4.  In light of this, though, quite a few folks have asked whether there are any advantages (particula...