Free YouTube views likes and subscribers? Easily!
Get Free YouTube Subscribers, Views and Likes

Deep .NET: Let's Talk Parallel Programming with Stephen Toub and Scott Hanselman

Follow
dotnet

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 littleknown 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/backt...
Parallel Programming in C#: https://learn.microsoft.com/dotnet/st...

Connect with .NET:
Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
‍♀Q&A: https://aka.ms/dotnetqa
‍Microsoft Learn: https://aka.ms/learndotnet

#dotnet

posted by tankrederz1