Easy Binary Compatible C++ Interfaces Across Compilers
Offered By: CppNow via YouTube
Course Description
Overview
Explore easy binary compatible C++ interfaces across compilers in this CppNow conference talk. Dive into the challenges of C++ interoperability and discover a solution that leverages C++11 features to create user-friendly, compiler-agnostic binary interfaces. Learn how to define interfaces once for both implementation and usage, utilize standard C++ containers, support real return types and exceptions, achieve COM binary compatibility, and enable interface and implementation inheritance. Examine the design and implementation of a library that addresses these issues without external tools, tested on Windows and Linux with various compilers. Gain insights into implementing key features, discuss trade-offs, and explore different approaches to improve C++ component interoperability across multiple build systems and compiler versions.
Syllabus
Intro
Whats the problem
Whats in this talk
Why is it hard
How do we share
Global functions
Map function
Keyvalue store
Tables
polymorphism
static cast
C compiler extensions
C cross functions
Array of function pointers
Template class
Cross conversion
Calculating sizes
Supported types
Inheritance
Member Functions
Reuse
Property
Implementation
Property Manager
Lifetime Management
Interface Address Release
UUID Cross Compiler
Create Unknown Creator Face
Error Handling
Custom Cross Functions
Aport
VTable Function
Jesse James Funeral
JavaScript
introspection
questions
support plugins
library size
Visual Studio
LevelDB
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube