News for hackers. Stuff that matters.
Re:Asynchronous Programming in C# by chakkepolja on Friday September 24, 2021 @12:43PM (#28644813)
When there's sync OS APIs what's the point of async over threads? I thought async APIs use async or polling version of syscalls and not blocking ones.
Re:Asynchronous Programming in C# by davidfowl on Friday September 24, 2021 @09:18PM (#28649531)
Because there are sometimes better things to do than block more threads. We can asynchronously queue dns requests to the same address (this is what we do in .NET 6)