What I Talk About When I Talk About Cross Platform Development
summary
Presents the Salami Method: a layered architecture that keeps a cross‑platform C++ core, a public C++ API, a thin C API boundary, then tiny platform trampolines (DLL exports, JNI) and native wrappers. Shows a concrete OpenCV example compiled with OpenCV + Emscripten to run a hue‑rotation “party parrot” demo in the browser with a live slider, handles conversions and exceptions at module boundaries, and reports asm.js/WebAssembly runs roughly ~50% of native speed.
AI-written summary · about
chapters (20)
- 0:00Intro
- 0:42About me
- 1:43What is crossplatform
- 8:34The salami method
- 10:38Benefits
- 12:32Cross Platform C Core
- 14:31Cross Platform Public C
- 18:09Cross Platform Layers
- 19:03Cross Platform Public C Interface
- 22:50extern C
- 24:16C Implementation
- 27:43C Implementation Summary
- 37:17Android Implementation Example
- 40:41Native Import Layer
- 44:36Interface Wrapper
- 45:21Java vs Android
- 50:12Example
- 53:51Boundary Interface
- 56:37JavaScript
- 58:30HTML
related talks
30mCross-platform (...)
31mBridging The Gap Between Mobile Platforms
23mThe State of One Codebase For All The Platforms
23mJavaScript? In *my* native video app's core streaming library?...
30mCross-platform Collaboration Patterns
13mUsing multiplatform frameworks to target Android in emerging markets.
01h 06mHybrid Development: Bridging the Gap Between Web and Native
29mOrganizing Code for Cross-Platform Web and Mobile Development
