~/talk

Multiplatform Persistence

Talkat droidCon NYC 2018 · 2018-08-27..08-28· [kotlin, databases]
links:none on file
slides:none on file

Shows concrete multiplatform SQLite work: SQLDelight 1.0 generates Kotlin from .sq files, uses expect/actual to let Android supply a SupportSQLite driver and iOS use Narc SQLite driver, and exposes a small runtime plus column adapters. Migrations gain a schema+verify task; an in‑memory JDBC driver enables JVM tests. Queries become extension‑backed observables (RX Java kept out of core). Kotlin/Native limits (no generics, no value types yet) force awkward bridges but tests run on Android and native.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Square Cache ecosystem
  3. 3:57Data flow in Cache
  4. 6:25Modularization benefits
  5. 9:55Current Cache dependencies
  6. 11:19Defining module boundaries
  7. 14:05Platformless persistence goal
  8. 15:07SQL Delight multiplatform
  9. 18:16Multiplatform setup
  10. 21:46Benefits of common code
  11. 24:13Query observables with RX
  12. 25:37iOS value types support
  13. 27:19Pros and cons of multiplatform
  14. 29:04Cross-platform testing
  15. 29:25SQL Delight migrations
  16. 31:10Testing with JDBC driver
  17. 31:51Future of Cache modules
  18. 33:16SDK Search example
~/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.