~/talk

The async Operator — C#'s Biggest Mistake?

TalkinRussianat DotFest 2020 · 2020-10-12..10-18· [c-sharp, concurrency]
slides:none on file

This talk examines problems with C#'s async/await model and argues that widespread reliance on the async operator is misguided. It covers issues observed in real implementations—global state interactions, exception handling, deadlocks, and garbage-collection impacts—and critiques the design choices behind the async mechanism rather than offering simple usage guidance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32Async/await problems in C#
  3. 4:23Cost of async methods
  4. 8:43Hidden state and context
  5. 12:16Synchronization context issues
  6. 15:05Deadlocks in UI apps
  7. 21:06Exceptions in async methods
  8. 23:37Async void problems
  9. 26:25Platform integration
  10. 29:33Async constructors
  11. 31:37Locking issues
  12. 34:09SOLID violations
  13. 35:13Missing timeouts
  14. 39:52DRY violations
  15. 41:55Dependency inversion problems
  16. 47:11C# string limits
  17. 47:54C# color functions
  18. 50:46Improving async
  19. 54:20Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.