.NET/C#: Igor Ostrovsky wrote a few great MSDN magazine articles helping you write better threading code
Posted by jpluimers on 2013/09/17
Igor Ostrovsky wrote a few very nice MSDN magazine articles. Not all of them have ended up in the list at MSDN magazine, so here is a more complete list:
- C# – The C# Memory Model in Theory and Practice, Part 2 (January 2013).
- C# – The C# Memory Model in Theory and Practice (December 2012, was missing in the MSDN magazine article list).
- Async Tasks – Simplify Asynchronous Programming with Tasks (September 2010).
- Concurrent Affairs: Data-Parallel Patterns and PLINQ (December 2009).
- .NET Matters: False Sharing (October 2008).
Though the articles show the majority of sample code in C#, the actual topics are of great interest to any developer writing .NET code or interfacing to it.
Some keywords in his articles:
- PLINQ
- volatile and read/write reordering
- memory access patterns
- threading, locking
- System.Threading and System.Collections.Concurrent namespaces
- ThreadPool
- InvokeAsync, RunWorkerAsync, SendAsync, DownloadStringAsync
- IAsyncResult
- System.Threading.Task.Tasks and task composition and parallel execution
- SynchronizationContext
- False sharing (when 2 unrelated objects share the same processor cache line)
- Sequence Zipping
- JIT Compiler optimizations and influence on memory operationsC++
–jeroen
Leave a Reply