~/talk

DIRECT STYLE SCALA

Talkat Scalar Conference 2023 · 2023-03-23..03-24· [concurrency, scala]
slides:none on file

Scala now ships boundary/break in Scala 3.3 as an efficient non‑local return primitive; on top of that designs implement suspensions (limited continuations) with suspend/resume semantics, enabling generators, algebraic effects and resumable exceptions. A straw‑man low‑level concurrency library exposes an async capability, async sources that unify futures and channels, and structured concurrency with cancellation, plus zip/either/select operators. Implementations target JVM virtual threads (Project Loom), Scala Native delimited continuations, and bytecode/source rewriting; prototypes run and demonstrate the model.

AI-written summary · about

  1. 0:00Direct style Scala intro
  2. 1:04Rise of async programming
  3. 2:28Direct style vs monadic libs
  4. 3:51Building direct style stack
  5. 5:16Introducing boundary break
  6. 8:32Efficient boundary break impl
  7. 10:17Flexible error handling
  8. 13:27Suspensions and continuations
  9. 15:56Algebraic effects with suspensions
  10. 19:49Summary of algebraic effects
  11. 20:53Implementing continuations
  12. 21:37Monads vs continuations
  13. 23:03Universal lightweight concurrency
  14. 25:31Straw man concurrency design
  15. 26:55Futures in new model
  16. 28:18Async sources and composition
  17. 30:24Why futures and channels fit
  18. 31:46Error handling in new futures
  19. 33:11Conclusion and future
~/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.