Episode
Let's Talk Parallel Programming with Stephen Toub
with Scott Hanselman, Stephen Toub
Stephen and Scott are back with more Deep .NET goodness! This time we are talking about Parallel in .NET, parallelism, and parallel programming in general! Let's get into it!
Chapters
- 00:00 - Intro
- 01:18 - Introducing System.Threading.Tasks.Parallel
- 02:25 - Reminiscing with 14 year old discussions about parallelism and .NET
- 06:50 - Basic tour through Parallel
- 08:18 - Implementing a basic Parallel.Invoke
- 10:49 - Implementing a basic Parallel.ForEach
- 12:22 - Philosophy around defaults and abstracting away details
- 17:35 - Challenges of and solutions for false sharing
- 32:30 - Challenges of and solutions for unbalanced workloads
- 41:41 - How Parallel interacts with the thread pool
- 49:42 - The little-known Partitioner type, and a better Parallel.ForEach implementation
- 01:01:40 - Parallel Stacks window in the Visual Studio debugger
- 01:11:32 - Wrapping up
Recommended resources
Stephen and Scott are back with more Deep .NET goodness! This time we are talking about Parallel in .NET, parallelism, and parallel programming in general! Let's get into it!
Chapters
- 00:00 - Intro
- 01:18 - Introducing System.Threading.Tasks.Parallel
- 02:25 - Reminiscing with 14 year old discussions about parallelism and .NET
- 06:50 - Basic tour through Parallel
- 08:18 - Implementing a basic Parallel.Invoke
- 10:49 - Implementing a basic Parallel.ForEach
- 12:22 - Philosophy around defaults and abstracting away details
- 17:35 - Challenges of and solutions for false sharing
- 32:30 - Challenges of and solutions for unbalanced workloads
- 41:41 - How Parallel interacts with the thread pool
- 49:42 - The little-known Partitioner type, and a better Parallel.ForEach implementation
- 01:01:40 - Parallel Stacks window in the Visual Studio debugger
- 01:11:32 - Wrapping up
Recommended resources
Video URL
HTML iframe
Have feedback? Submit an issue here.