Showing results for Article Summary - .NET Blog

Dec 14, 2012
Post comments count0
Post likes count1

C# memory model articles

Stephen Toub - MSFT
Stephen Toub - MSFT

Igor Ostrovsky is one of the minds behind the parallel programming support in the .NET Framework.  Igor's recently written a great set of articles for MSDN Magazine to cover "The C# Memory Model in Theory and Practice".  Part 1 is available now in the December 2012 issue, and it's a great read.

.NET Parallel Programming
Oct 3, 2011
Post comments count0
Post likes count0

New articles on async/await in MSDN Magazine

Stephen Toub - MSFT
Stephen Toub - MSFT

The October 2011 issue of MSDN Magazine is now available online.  In it, you can find three articles about the new async/await features of C# and Visual Basic.  While the articles can stand alone, they were written with each other in mind in order to provide a 1-2-3 on-ramp into the world of asynchronous programming with these new languag...

.NET Parallel Programming
Aug 12, 2010
Post comments count0
Post likes count0

“C# 4.0 in a Nutshell” parallel programming content

Stephen Toub - MSFT
Stephen Toub - MSFT

Joe Albahari, author of "C# 4.0 in a Nutshell", has just published on his Web site the material from his book covering Parallel Extensions.  You can find his extensive article here:https://www.albahari.com/threading/part5.aspxNice work, Joe.

.NET Parallel Programming
Jul 2, 2010
Post comments count0
Post likes count0

Using Cancellation Support in .NET Framework 4

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

The .NET Framework 4 introduces a new mechanism for cancellation of operations, based on new types CancellationToken and CancellationTokenSource. This cancellation mechanism is used across the parallel programming libraries: tasks, concurrent collections, and PLINQ queries.Using Cancellation Support in .NET Framework 4, written by Mike Li...

.NET Parallel Programming
Jun 30, 2010
Post comments count0
Post likes count0

PLINQ and Office Add-ins

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

Many different kinds of applications can benefit from multi-core parallelism, including add-ins to Microsoft Office. Donny Amalo wrote a paper, PLINQ and Office Add-ins, where he demonstrates how to implement two parallel Microsoft Office add-ins using PLINQ: (This paper and many more are available through the Parallel Computing Developer C...

.NET Parallel Programming
Jun 28, 2010
Post comments count0
Post likes count0

Integrating Parallelism with Windows Workflow Foundation

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

Despite the similarity in naming, the System.Threading.Tasks.Parallel class and the System.Activities.Statements.Parallel* activities in WF4 are largely orthogonal in the scenarios they address. However, WF4 activities and the new parallel programming types in .NET 4 can be used together to great advantage.Ling Wo and Cristina Manu wrote a pap...

.NET Parallel Programming
Jun 25, 2010
Post comments count0
Post likes count0

Concurrency Visualizer: A Case Study

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

Boby George and Pooja Nagpal - testers on the Parallel Computing Platform team responsible for the parallel programming support in .NET 4- built a parallel spell checker algorithm and used the Concurrency Visualizer to analyze and improve the performance and scalability of their implementation.Optimizing Parallel Applications Using Concurrency...

.NET Parallel Programming
Jun 21, 2010
Post comments count0
Post likes count0

PLINQ’s Ordering Model

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

In order to execute parallel queries as efficiently as possible, Parallel LINQ (PLINQ) treats ordering as optional. By default, PLINQ considers sequences to be unordered, unless the user explicitly opts into maintaining ordering using either the AsOrdered or the OrderBy operator.Roy Patrick Tan wrote a detailed article that expl...

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

Performance of Concurrent Collections in .NET 4

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

.NET 4 introduces new data structures designed to simplify thread-safe access to shared data, and to increase the performance and scalability of multi-threaded applications. To best take advantage of these data structures, it helps to understand their performance characteristics in different scenarios.Chunyan Song, Emad Omara and Mike Liddell measu...

.NET Parallel Programming
Apr 21, 2010
Post comments count0
Post likes count0

When To Use Parallel.ForEach and When to Use PLINQ

Igor Ostrovsky - MSFT
Igor Ostrovsky - MSFT

If you've played around with PLINQ and Parallel.ForEach loops in .NET 4, you may have noticed that many PLINQ queries can be rewritten as parallel loops, and also many parallel loops can be rewritten as PLINQ queries. However, both parallel loops and PLINQ have distinct advantages in different situations. When writing ...

.NET Parallel Programming