Writing async/await from scratch in C# with Stephen Toub

preview_player
Показать описание
Join Stephen Toub and Scott Hanselman as they dive deep into the world of .NET. On this first episode, Stephen and Scott demystify the world of asynchronous programing with .NET and specifically the magic behind async/await, something that developers use every day. To do so, he builds his very own implementation of async/await completely from scratch and explains throughout the way. If you are looking to go deeper with .NET then you are in the right place.

Chapters:
00:00 - Intro
03:00 - Understanding concurrency, parallelism, and asynchronous
08:30 - Creating our own ThreadPool
26:00 - Creating our own Task
45:30 - Putting together ThreadPool and Tasks
56:00 - Async iterators and yield
01:05:00 - Wrap-up

Resources:

Connect with .NET:

#dotnet #asyncawait #csharp
Рекомендации по теме
Комментарии
Автор

Stephen Toub is an absolute treasure for all .NET developers. We defiantly need more content from him. What a great orator and teacher!!

majixx
Автор

More of this, please! Feels like a channel9 video from back in the day.

elerius
Автор

I was already very familiar with how tasks/async/await work under the covers but seeing Stephen effortlessly "reimplement" it without copying and pasting or using notes is a humble masterclass of intellectual horsepower.

tomglenn
Автор

This was amazing.

Why I love this?
1. Scott Hanselman
2. Stephen Toub
3. An actual deep dive into a concept with a high-quality explanation of it.

s.hosseinhosseini
Автор

Can I just say how great this duo is. Stephen is awesome at explaining things to a great depth, and Scott knows exactly where to stop and ask for clarifications, at an extent that hits just the sweet spot for me, not being too much. More videos from this duo please.

Daysra
Автор

I love how Scott asks all the right questions.

tedchirvasiu
Автор

This was an absolute delight to watch. Thank you Stephen and Scott!

ThorstenSauter
Автор

Wow we need more topic like this please. We need more of .net core internals

Anubis
Автор

When I say that I have watched every video and read every article about async and await,  I am not exaggerating. However not a single one has come close to educating what this does,  why and how to use it and how this is implemented as this does. This is one of the best videos I have seen on this subject.

I would love to see more videos like this,  that deep dive into the technical rather than floating around at surface level

gpltaylor
Автор

Great video. Would love to see a dive into IAsyncEnumerable implementations

CecilPhillip
Автор

Love this deep dive stuff. Too much 101 content and almost zero 400 content.

runtimmytimer
Автор

Scott & Stephen rewriting async await reminded me David & Damian rewriting SignalR on stage. All dotnet devs out there are standing on the shoulders of Giants🙏🏼
This is great content

ArnonDanon
Автор

Superb stuff. Scott leads it well, without interrupting too much. And Stephen delivers pure meat. That is one of these few precious resources that despite the fact they last for ah hour, I personally need a few hours to analyze, rewind and make sure all these topics really click in my head.

WespazjansDad
Автор

after watching this I am youtubing about Stephen Toub videos. We need more content from him. I was nice to see low level design of async await here. thanks!

pmnm
Автор

Really love to see this kind of in depth content coming from the team. We need

zksward
Автор

Amazing video! I would love to see more content like this.

MatthiWare
Автор

Great video! I love this style of rewriting stuff to explain how it works internally. We'd love more videos like this one

bity-bite
Автор

What a great video idea. Great hosts to listen to as well.

DannysGalaxyTab
Автор

Definitely going to watch this again and code along. Excellent video!

FXK
Автор

Great info. Been away from C# for a few years, but nice to see this detailed as to how async/await works.

CraigShearer