~/talk

Asynchronous streams in direct style with and without macros

Talkat Scala Days Lausanne 2019 · 2019-06-11..06-13· [scala, reactive-programming]
slides:none on file

Proposal extends Scala async so an async block can produce a Publisher and await either Futures or stream events, implemented two ways: a macro that transforms the body into a state machine and a runtime variant using Project Loom continuations that suspends and resumes continuations, targets JDK 9 Flow and Scala 3, prototypes on GitHub, demonstrates backpressure-aware loops like zip and switch, claims fewer closures and less boxing and shows the approach works for real examples.

AI-written summary · about

  1. 0:00Intro
  2. 1:49A solution using for- comprehensions
  3. 4:52A solution using scala-async
  4. 10:15Intermezzo: Reactive Streams
  5. 13:21Publisher
  6. 15:05Subscription
  7. 16:01Reactive Extensions
  8. 19:43Challenges
  9. 21:15Back to our task
  10. 23:26Generalizing await
  11. 25:38Solution using scala-async-flow
  12. 28:08Implementing scala-async-flow
  13. 28:44Library Component
  14. 30:17Macro-based implementation
  15. 35:57Continuations in Project Loom
  16. 38:57Theoretical foundations
  17. 39:48Open Issues
  18. 41:16Resources
~/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.