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

YouTube

Runtime Polymorphism - Back to the Basics

ACCU Conference via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explores design choices for runtime polymorphism in C++, focusing on a policy-based approach to dispatch and storage. It compares tradeoffs among stack, heap, shared, and reference storage and offers guidance on when to use each design.

Syllabus

Introduction
Mumbling
Runtime Polymorphism
Variant Limitations
Relationship
Inheritance
Inheritance Problems
Reference Semantics
Heap Allocation
Null State
Ownership Questions
Algorithms
Intrusive
Conclusion
Pseudocode
Approach
Fat Pointer
Creating a Vtable
Creating a Library
Inline
Storage Policy
Magic DSL
Strengths
Small Buffer Optimization
Implementation
Changing Storage Policy
Using Buffers
Language Level Facility
No Allocation
Benchmark
Rough Guidelines
Value Semantics
Function View
Shared Remote Storage

Taught by

ACCU Conference

Reviews

Start your review of Runtime Polymorphism - Back to the Basics

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.