What I Talk About When I Talk About Cross Platform Development
summary
Proposes the Salami Method: slice software into a thin cross-platform C++ core, a public C++ API, a C API boundary for ABI-stable interop, platform-specific glue (JNI/Windows DLLs) and lightweight host wrappers. Uses OpenCV + C++ compiled via Emscripten/WebAssembly to run the same image-processing function on desktop and in-browser, exposing a slider-controlled color-rotation demo; demo runs live with small latency, showing the layering works end-to-end.
AI-written summary · about
chapters (22)
- 0:00Start
- 5:00Mixing of Skills
- 5:59The Salami Method
- 6:37The Dry Principle
- 10:19The Cross-Platform C + + Core
- 11:44The Cross-Platform Public C + + Interface
- 14:02Naming Convention
- 15:26C Api
- 17:38Object Lifetime Management
- 18:08Testing
- 22:05The Platform Boundary Interface Layer
- 23:03Function and Meaning
- 23:49Module Boundary
- 25:57Implementation
- 31:28Integration Testing
- 32:57Interface Wrappers
- 35:05Interface Layer
- 37:13Application Layer
- 42:19Boundary Interface Layer
- 43:16Javascript
- 44:03Host Application
- 48:22Callbacks
related talks
01h 00mThe Salami Method for Cross Platform Development
01h 14mBuilding and Organising a Multi-Platform Development Code Base
27mCoding Qt for greater interoperability and portability ...
41mC++ Abstraction Patterns for Cross Platform Development in C++ Software Engineering
46mTame the Cross-Platform Beast
58m“Embracing Standard C++ for the Windows Runtime"
47mPrepping your Open Source Project for Multi-Platform
59mC++ in containers
