~/talk

Battle of the Titans: RxJava vs Kotlin Coroutines

Talkat Android Worldwide July 2023 · 2023-07-25..07-26· [android]
links:none on file
slides:none on file

Compares concrete migration work: an Android app is rewritten from RxJava to Kotlin Coroutines across refactored 80% of app using converters to interoperate flows and observables; code shrinks by replacing Observable/Single/Maybe/Completable with suspending functions and Flow, removing CompositeDisposable in favor of viewModelScope/viewLifecycleScope and structured concurrency; backpressure is automatic; readability and onboarding measurably improve; performance on a Scrabble microbenchmark shows Scrabble benchmark: sequence 10ms, flow 14ms, RxJava 24ms.

AI-written summary · about

  1. 0:00Start
  2. 2:13RxJava Overview
  3. 4:03What are coroutines?
  4. 5:16Suspending functions
  5. 7:51Simpler API
  6. 11:57Operator Avoidance
  7. 14:13Structured Concurrency
  8. 17:16Readibility
  9. 17:28Readability
  10. 20:38Backpressure Handling
  11. 21:29Performance
  12. 23:44Kotlin Multiplatform
  13. 24:14Interoperability
  14. 25:09Recap on Coroutines Advantages
~/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.