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

YouTube

Taking a Byte Out of C++ - Avoiding Punning by Starting Lifetimes

CppCon via YouTube

Overview

Explore the concept of marshaling raw bytes into C++ objects in this conference talk from CppCon 2022. Delve into the proposed start_lifetime_as functionality and its potential impact on efficient and correct object creation from bytes. Examine real-world applications in database engine development, focusing on achieving end-to-end zero copy operations. Analyze the progression from raw bytes to C++ objects and heterogeneous streams, while addressing potential pitfalls at each stage. Gain insights from Robert Leahy, an experienced developer and ISO C++ committee member, as he presents solutions to the perennial problem of type punning and object lifetime management in C++.

Syllabus

Taking a Byte Out of C++ - Avoiding Punning by Starting Lifetimes - Robert Leahy - CppCon 2022

Taught by

CppCon

Reviews

Start your review of Taking a Byte Out of C++ - Avoiding Punning by Starting Lifetimes

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.