Overview
Explore cross-platform development techniques in this 53-minute conference talk from NDC Conferences. Learn about the Salami Method, a system architecture that separates platform-specific code from core functionality to create more maintainable and portable applications. Discover how to implement this approach using practical examples, including building a single C++ OpenCV app for both desktop and web platforms. Gain insights into creating thin, transparent layers for different aspects of cross-platform development, making it easier to build, test, debug, and maintain your code. Understand the importance of separating concerns in DLL creation, Android NDK/JNI, C++ on iOS, and GUI-based desktop apps to avoid spaghetti code and improve overall software architecture.
Syllabus
Introduction
What is a crossplatform
The main issue
The salami method
The dry principle
Layers
Cross Platform C Core
Cross Platform API
Cross Platform Layer
Examples
Cross Platform Code
Platform Boundary Interface
DLL Export
Native Interface
Interface Wrapper
Summary
OpenCV
Skipton
Demo
Questions
Taught by
NDC Conferences