Showing category results for .NET Parallel Programming

Feb 4, 2010
Post comments count0
Post likes count0

DryadLinq now available also for non-academic use

Massimo Mascaro

Several months ago, Microsoft announced for academic customers the availability of DryadLINQ.  DryadLINQ is a LINQ provider developed by Microsoft Research that enables  .NET developers to use the LINQ programming model for writing distributed queries and computations against a cluster of computers using Windows HPC Server. DryadLINQ enab...

.NET Parallel Programming
Jan 29, 2010
Post comments count0
Post likes count0

Are you using the CCR? We’d love to hear about it.

Stephen Toub - MSFT

Are you using the CCR (Microsoft Robotics' "Concurrency & Coordination Runtime") today in production applications or libraries, and in particular for non-robotics purposes?  If so, we’d love to hear about your experiences, and any and all information you’re willing to share would be very welcome.  What do you like about it...

.NET Parallel Programming
Jan 26, 2010
Post comments count0
Post likes count0

FAQ :: Are all of the new concurrent collections lock-free?

Danny Shih

(This answer is based on the .NET Framework 4.  As the details below are undocumented implementation details, they may change in future releases.)No.  All of the collections in the new System.Collections.Concurrent namespace employ lock-free techniques to some extent in order to achieve general performance benefits, but traditional locks ...

.NET Parallel Programming
Jan 19, 2010
Post comments count0
Post likes count0

FAQ :: You talk about performance, speedup, and efficiency…what do you mean exactly?

Danny Shih

All of these terms are overloaded, even in the context of parallel computing.  However, we’ve used them extensively to describe how well our parallel algorithms and demo applications work.  And sometimes, we throw them around carelessly on the blog, forums, etc., so here are our general definitions.Performance is an attribute that r...

.NET Parallel Programming
Jan 11, 2010
Post comments count0
Post likes count0

FAQ :: The Debugger does not correctly handle Task exceptions?

Danny Shih

The following code correctly observes and handles a Task exception and should print “gotcha!” to the console.  By default though, the Debugger will report a crash.Task t = Task.Factory.StartNew(() => { throw new Exception("poo"); }); try { t.Wait(); } catch (AggregateException) { Console.WriteLine("gotcha!"); } The issue has to ...

.NET Parallel Programming
Jan 8, 2010
Post comments count0
Post likes count1

ConcurrentDictionary’s support for adding and updating

Stephen Toub - MSFT

ConcurrentDictionary<TKey,TValue> is a new type in the .NET Framework 4, living in the System.Collections.Concurrent namespace.  As noted in the MSDN documentation, ConcurrentDictionary “represents a thread-safe collection of key-value pairs that can be accessed by multiple threads concurrently.”  While ConcurrentDiction...

.NET Parallel Programming
Jan 5, 2010
Post comments count0
Post likes count0

FAQ :: Why is the speedup not X on my X-way machine?

Danny Shih

We’ll be regularly posting answers to frequently asked questions that we’ve gotten on the forum, internal email lists, etc.  Here’s the first – enjoy! Why is the speedup not X on my X-way machine?  Or, why does my parallel code run slower?  Less than ideal speedup can typically be attributed to two things: 1.    &...

.NET Parallel Programming
Dec 9, 2009
Post comments count0
Post likes count0

A Tour Through the Parallel Programming Samples for .NET 4

Stephen Toub - MSFT

On Code Gallery, we have a plethora of samples that highlight aspects of the .NET Framework 4 that help with writing scalable and efficient parallel applications.  This post examines each of those samples, providing an overview of what each provides.

.NET Parallel Programming
Dec 6, 2009
Post comments count0
Post likes count0

Updated samples for parallel programming

Stephen Toub - MSFT

We've refreshed our samples for parallel programming with the .NET Framework 4.  Thanks to the gracious assistance of the fabulous Lisa Feigenbaum and others on the Visual Basic team, in this refresh the majority of the samples are now available not only in C# but also in Visual Basic. The samples are available for download at https://code.msd...

.NET Parallel Programming
Dec 3, 2009
Post comments count0
Post likes count0

Updated Parallel Computing Developer Center on MSDN

Stephen Toub - MSFT

Check out the updated Parallel Computing Developer Center on MSDN.  Both the look and the content have been revised significantly… Enjoy!

.NET Parallel Programming