Overview
Explore cross-platform development techniques in this comprehensive conference talk. Learn about the Salami Method, a system architecture that separates platform-specific code from core functionality. Discover how to create portable, testable, and maintainable code across multiple platforms. Gain insights into building a single C++ OpenCV app for both desktop and web using the same codebase. Examine practical examples of implementing the Salami Method, including Android NDK/JNI, C++ on iOS, and GUI-based desktop apps. Understand the benefits of finely distinguishing between different aspects and layers required for exposing platform-independent C++ on various platforms. Delve into topics such as Cross Platform C Core, Public C Interface, Implementation Layers, and platform-specific implementations for Android and JavaScript/HTML.
Syllabus
Intro
About me
What is crossplatform
The salami method
Benefits
Cross Platform C Core
Cross Platform Public C
Cross Platform Layers
Cross Platform Public C Interface
extern C
C Implementation
C Implementation Summary
Android Implementation Example
Native Import Layer
Interface Wrapper
Java vs Android
Example
Boundary Interface
JavaScript
HTML
Taught by
NDC Conferences