~/talk

Pushing 'await' to the Limits: Unleashing Multi-Threading Power in .NET

Talkat JetBrains .NET Days Online 2024 · 2024-09-25..09-26· [concurrency, dotnet]
slides:none on file

Claims that awaiting can drive a fork‑join parallel loop by providing a custom task‑like type and a method builder that forks by shallow‑copying the generated state machine, stores per‑thread IDs in an AsyncLocal parallel context, and joins in IAsyncDisposable/IAsyncEnumerable disposal. Implements a parallel foreach as an extension (called something like AsParallelAsync), shows it runs correctly, measures comparable or faster times in a toy benchmark, and notes cancellation is not yet supported.

AI-written summary · about

  1. 0:00Introduction
  2. 0:34What is Asyn
  3. 1:34Data Parallelization
  4. 2:29C
  5. 3:38A
  6. 7:21Method Builder
  7. 9:25Fork Join Model
  8. 11:02State Machine
  9. 13:55Execution Context
  10. 15:32Join
  11. 24:11Storing Data
  12. 28:31Another Idea
  13. 30:28Conclusion
  14. 31:12QA
~/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.