~/talk

Behind modern concurrency primitives

slides:none on file

Explains why heap‑allocated tasks beat OS threads for scalability (1 MB stack vs ~72 bytes per task, default stack historically 1 MB then 256 KB), shows eager TPL vs lazy F# async making the same code take 5s vs 10s, describes thread‑pool design with per‑worker queues plus work stealing and optional thread‑per‑core affinity that yields ~50% speedups in one JVM example, covers IO threads and Go/Erlang preemption, and warns that removing unnecessary async state machines raised throughput from 47 to 73,000,000 messages/sec.

AI-written summary · about

  1. 0:00Start
  2. 2:12Agenda
  3. 4:09Why Have We Use Code That Is Async Await Instead of Using Plain Old Ordinary Thread Api
  4. 7:02Scalability
  5. 13:02Hardware Architecture
  6. 17:25Work Sealing
  7. 22:10Stratfor Core Architecture
  8. 29:00Schedulers
  9. 36:04Preemptive Schedulers
  10. 42:29Eager and Lazy Evaluation
  11. 46:29Async Functions
  12. 47:31Function Coloring
  13. 48:09Stack Locality
  14. 55:19Binding Operators
  15. 55:47Async State Machines
  16. 1:00:30Summary
  17. 1:01:02References
  18. 1:02:56Computation Expressions in F Sharp
~/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.