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

YouTube

Frictionless Allocators

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 examines the complexity of writing allocator-aware C++ libraries and proposes language extensions to simplify allocator support. It also discusses an early prototype and how to assess the proposals’ readiness for standardization.

Syllabus

Intro
Outline of Talk
What is an allocator?
Why Do We Want Allocators?
A Faster Allocator
Performance
Special Memory
Emery Berger
Accelerating Programs via Custom Allocators
Initial empirical results
Early Results
Allocator Traits (since 2011)
How does pmr work?
memory_resource
Standard Resources
Idiom and usage of pm
Quick Example
Scoped Allocator Model
Limitations of pmr
Bloomberg Experience
Unsupported use cases
Allocator Propagation
Complexity of Propagation
Syntactic overhead is high
Copy Constructor Issue
Ideal Model
Allocator Awareness
Why Implicit from Members?
Why querying matters
Simplifying Construction
Worked Example
Implementing Awareness
Implicit Awareness
Allocator Injection

Taught by

ACCU Conference

Reviews

Start your review of Frictionless Allocators

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.