u/ChanceNo2361in r/dotnet • Recommends
On “did you know every async method you write allocates a heap object you never see?”
230K subscribers • 110 videos on Hallway • Conference channel
Advanced. Deep dive for people who know the field.
136K views3 years ago2 recommendations
Programming languagesSystems programmingC# and .NETConcurrency and parallelismPerformance and optimization
Brandon Minnick analyzes how the .NET compiler handles async/await and demonstrates how to optimize asynchronous C# code for better performance.
This talk was recorded at NDC's Copenhagen Developer's Festival. #cphdevfest #ndcconferences #dotnet #softwaredeveloper #csharp Attend the next NDC conference near you: ndcconferences.com cphdevfest.com/ Subscribe to our YouTube channel and learn every day: youtube.com/@NDC Did you know that the .NET compiler turns our async methods into classes? And that .NET adds a try/catch block to each of these classes, potentially hiding thrown exceptions? It's true! In this session, we will learn how to best use async/await in C# by analyzing how .NET compiles our async code. Join me as we take an existing app and optimize its async code together, showing off performance gains, better exception handling, improved run-time speed, smaller app size and more using the latest tools in C#12 + .NET 8!What people say. Recommended for its excellent, deep-dive details on async allocations and best practices in C#.
u/ChanceNo2361in r/dotnet • Recommends
On “did you know every async method you write allocates a heap object you never see?”
u/Transcender49in r/dotnet • Recommends
On “Give me your async/await gotchas”
u/fuzzius_navusin r/dotnet • Mentions
On “What should my tech stack be for a cross-platform native app that needs to access a remote SQL database?”