Trivially Relocatable
Offered By: CppNow via YouTube
Course Description
Overview
Explore the concept of "trivially relocatable" types in C++ through this comprehensive conference talk from C++Now 2019. Delve into the importance of relocation in C++ and its potential impact on performance optimizations. Learn about the proposed `is_trivially_relocatable` type trait and its implementation in various libraries. Examine five common library optimizations that can be extended to trivially relocatable types, potentially leading to significant performance improvements. Gain insights into the distinctions between P1144 object relocation and other related concepts, such as destructive move and position-independent data structures. Discuss open design issues, including syntax proposals and requirements for trivially relocatable types. Explore the relationship between object relocation and other C++ proposals, providing a thorough understanding of this important concept in modern C++ development.
Syllabus
Motivation Relocation
Fixed Capacity Vector
Move Constructor
Relocate Ability
Swap
Code Bases
Folly
FBVector
Move Destroy
Conditional Relocatable
Undefined Behavior
Memory Model
Things that relocation is not
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