~/talk

The (not so) hidden cost of sharing code between iOS and Android

Talkat droidcon SF 2019 · 2019-11-18..11-19· [android, c-and-cpp]
links:none on file
slides:none on file

Dropbox abandons sharing business logic in C++ after years of operational cost: 85,000 lines of C++ (plus 35k open source and 10k build tooling), a homegrown Genie code generator, and C++ camera-roll sync and notification clients. Cross-language bugs produce ANR deadlocks and useless iOS stack traces, forcing changes to exception handling and heavy tooling. Migration strategy is design once, write twice: AB test components, rewrite into native Kotlin/Swift, and keep only isolated C++ black boxes like image processing.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32Why we chose C++
  3. 9:16History of C++ at Dropbox
  4. 12:25Custom frameworks and tools
  5. 17:24Why we stopped using C++
  6. 18:29Four types of overhead
  7. 25:10Training and hiring challenges
  8. 25:32Sharing architecture instead
  9. 28:19Migration process
  10. 29:43When code sharing makes sense
  11. 31:48Dropbox’s Rust use case
  12. 32:08Q&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.