~/talk

Coroutines and Rx: A Battle Towards Asynchronicity

Talkat droidcon SF 2019 · 2019-11-18..11-19· [concurrency, reactive-programming]
links:none on file
slides:none on file

Compares RxJava and Kotlin coroutines with concrete tradeoffs: Retrofit now supports suspend functions so coroutines win simple HTTP calls with no adapter, while Rx adds 11,000 methods vs coroutines’ ~3,000 methods so dex and learning costs differ. Covers exception behavior (launch vs async, coroutine exception handler, supervisorScope), shows how continuations resume suspend functions, and demonstrates a custom zip implementation for coroutines (works but needs extra code and doesn’t scale as easily as Rx’s built‑in zip). Flows bridge reactive patterns for state and UI streams.

AI-written summary · about

  1. 0:00Introduction to speakers
  2. 0:12What are coroutines and Rx
  3. 5:54Complexity in frameworks
  4. 6:37Round one HTTP networking
  5. 9:29Round two exception handling
  6. 15:57Round three zipping streams
  7. 20:14Round four managing states
  8. 24:48Conclusion and takeaways
~/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.