If playback doesn't begin shortly, try restarting your device.
•
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
An error occurred while retrieving sharing information. Please try again later.
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:00 Intro
00:01:18 Introducing System.Threading.Tasks.Parallel
00:02:25 Reminiscing with 14 year old discussions about parallelism and .NET
00:06:50 Basic tour through Parallel
00:08:18 Implementing a basic Parallel.Invoke
00:10:49 Implementing a basic Parallel.ForEach
00:12:22 Philosophy around defaults and abstracting away details
00:17:35 Challenges of and solutions for false sharing
00:32:30 Challenges of and solutions for unbalanced workloads
00:41:41 How Parallel interacts with the thread pool
00: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
Resources:
More Deep .NET: • Deep .NET
Scott's Blog: https://www.hanselman.com/blog/…...more