~/talk

A Tale of Two Threading Models

Talkat droidcon APAC 2020 · 2020-12-14..12-15· [android]
links:none on file
slides:none on file

Compares two concrete threading patterns — copy-on-write immutable objects (persistent data structures, streams) versus transactional objects that expose immutable snapshots per event-loop cycle — and shows Realm’s implementation inside the new Kotlin Native SDK (Multiplatform) that supports background writes, frozen handoffs, fine‑grained observability and instant exceptions for cross-thread misuse. Demonstrates fewer race conditions, no full copies for large graphs, and production‑ready behavior via Realm’s open source GitHub.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:24Why threading matters on mobile
  3. 7:18Race conditions and their dangers
  4. 13:17Traditional locks and their problems
  5. 18:32Immutability and functional reactive programming
  6. 26:01Problems with immutable streams
  7. 35:52Limitations of current models
  8. 36:59Transactional objects solution
  9. 43:24Summary and call to action
  10. 44:41Q&A and closing
~/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.