Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Easy Binary Compatible C++ Interfaces Across Compilers

CppNow via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Easy Binary Compatible C++ Interfaces Across Compilers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.