~/talk

Is Task T the only option?

Talkat .NET Summit 2019 · on Saturday, 2019-06-08· [concurrency, functional-programming]
links:none on file
slides:none on file

Compares .NET TPL Tasks, F# Async and Hopac Jobs with concrete tradeoffs: Tasks are hot vs cold (they start and cause side effects on creation), hide exceptions on other threads and lack built‑in cancellation; F# Async is a cold generator with implicit cancellation and predictable restart semantics; Hopac Jobs are tiny (jobs ~20 bytes vs Task ~72 bytes), claim up to ~100x speed in the presenter’s benchmarks and scale to billions of jobs. Shows a 400‑line Hopac scheduler implemented and working, and notes Hopac primitives used in production for high‑density actor workloads.

AI-written summary · about

  1. 0:00Introduction to alternatives
  2. 1:09Scheduler and thread basics
  3. 6:47Why tasks aren't perfect
  4. 11:23Task vs IAsyncEnumerable vs Hopac
  5. 17:26Hopac's selective synchronization
  6. 21:00Cancellation in C# vs Hopac
  7. 23:32Mixing models in C#
  8. 25:45When to choose tasks or alternatives
  9. 27:34Hopac for millions of jobs
  10. 30:01Why learn other async models
  11. 31:24Q&A on async programming
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.