~/talk

A Deep Dive into 2 Cross-Platform Mobile Apps Written in C++

Talkat CppCon 2014 · on Tuesday, 2014-09-09· at 14:00· Leibnitz· [c-and-cpp, android]
name:T. Grue
links:none on file
name:S. Kabbes
links:none on file
slides:none on file

Concrete claims and outcomes only: Dropbox builds two apps, Mailbox and Carousel, by sharing a shared C++ model for syncing, storage and view models and using a custom JNI bridge to avoid five-file call chains. Moving photo metadata and JPEG buffers into native code removes hundreds of thousands of Java objects and cuts GC pauses that reached ~500 ms, yields consistent animations via a fast change‑set diff, lets iOS/Android reuse logic, and ships features with real tradeoffs in tooling and debugging.

AI-written summary · about

  1. 0:00Intro
  2. 3:05What was wrong?
  3. 4:12Possible solutions?
  4. 5:03Rich App Requirements
  5. 6:13Mission: Build a Photos App
  6. 7:05Mission 2: Welcome Mailbox
  7. 7:47Sync API & Datastores
  8. 9:42Solution: Leverage C++
  9. 11:39Architecture
  10. 21:11Mailbox++
  11. 25:09Concepts
  12. 27:39How they relate
  13. 32:49C++ Wins on Android
  14. 35:02Win 1: Better Awareness
  15. 37:46Defeat the GC #1
  16. 39:23Win 3: Defeat the GC #2
  17. 41:08Hiding Memory
  18. 48:06Library choices
  19. 48:31Lean on me!
  20. 49:42Did it work?
  21. 51:41Features with no extra c++
  22. 52:50Roses have thorns
  23. 55:26Future work
~/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.