~/talk

CONQUERING CONCURRENCY WITH FUNCTIONAL PROGRAMMING

Talkat Scalar 2019 · 2019-04-05..04-06· [functional-programming, concurrency]
slides:none on file

Argues that purely functional code handles real concurrency by making shared state explicit and composable, using Ref for atomic state in IO, Deferred as a pure promise, IO and fibers for cancelable effects, plus semaphore and memoize for coordination. Shows a race combinator that cancels losers without leaks by flat‑mapping a shared deferred/ref, explains why creating refs must live in IO, compares this to blocking locks and heavyweight actors, and reports production use.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13The need for concurrency
  3. 0:39Managing state in FP
  4. 9:02Locking mechanisms
  5. 9:18Actor model and Ref
  6. 19:51Referential transparency
  7. 21:08Testing concurrent code
  8. 21:29Refactoring benefits
  9. 22:26Cats Effect overview
  10. 24:04Building custom abstractions
  11. 28:27Final thoughts and Q&A
  12. 29:04Conclusion
~/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.