~/talk

Asynchronous Data Streams with Kotlin Flow

Talkat KotlinConf 2019 · 2019-12-04..12-06· [kotlin, testing]
slides:none on file

Claims that Kotlin Flow is a simple, coroutine-based reactive primitive that is cold by default and uses a tiny API surface (collect/emit pair) to get backpressure, context preservation, and declarative concurrency. Demonstrates converting channels/publishers, shows a Scrabble-style benchmark where flow runs in 30ms vs 9ms for sequences and ~23ms for Java reactive libs, explains how buffer adds parallelism, and shows UI-friendly lifetime and scope integration; the implementation and numbers are concrete and reproducible.

AI-written summary · about

  1. 0:00Intro
  2. 0:46RECAP ON KOTLIN COROUTINES
  3. 1:49Asynchronous yet sequential
  4. 7:07Channel is hot
  5. 12:04Flow is cold
  6. 12:31Flow is declarative
  7. 16:16Flow is reactive
  8. 17:54WHY FLOW?
  9. 21:04Operator avoidance
  10. 26:48Kotlin Flow Plays Scrabble
  11. 29:22FLOW IS ASYNCHRONOUS
  12. 31:06GOING
  13. 33:06FLOW EXECUTION CONTEXT
  14. 36:23FLOW IN REACTIVE UI
  15. 38:27MANAGING LIFETIME
  16. 42:29Status & Roadmap
~/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.