~/talk

Rx in Multiplatformland

Talkat droidcon London 2019 · 2019-10-24..10-25· [android, reactive-programming]
links:none on file
slides:none on file

Compares Kotlin Flow and Reaktive (plus RxJava) with concrete findings: Flow 1.3.0 is already used by Room and SQLDelight; Reaktive 1.1.0.1 supports Kotlin/Native threading and avoids freezing via worker/thread-local helpers. Benchmarks show Flow wins simple throughput tests vs RxJava, but using flatMap (which uses channels) makes Flow about nine times slower and increases allocations; JVM memory use favors RxJava. Flow migration helpers exist, but error handling needs care—use onEach before collect—and ConflatedBroadcastChannel serves as a behavior-subject analog.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:50Reactive Kotlin Multiplatform libraries
  3. 5:48Public API differences
  4. 8:54Threading models
  5. 13:31Adopting reactive streams
  6. 16:00Error handling pitfalls
  7. 19:10Native platform support
  8. 21:38Performance benchmarks
  9. 25:10Conclusion and recommendations
  10. 30:38MVI sample app demo
  11. 35:20Q&A
~/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.