~/talk

Making Allocators Work, Part I

Talkat CppCon 2014 · on Wednesday, 2014-09-10· at 14:00· Descartes· [web-performance]
links:none on file
slides:none on file

Explains the concrete C++11/14 changes: introduces allocator_traits and a polymorphic allocator runtime model, shows a built example — a monotonic memory resource that allocates from a stack buffer and falls back to heap — used to back three vectors of 100 doubles. Demonstrates it works and makes prior allocator experiments practical, but reports measurable caveats: occasional slower fallback allocations, no per-allocation deallocation, stack exhaustion and alignment pitfalls, and allocator propagation defaults that do not move state.

AI-written summary · about

  1. 0:00Intro
  2. 1:15Topics to cover
  3. 2:36What is an allocator?
  4. 3:19Goal: per-object allocation
  5. 4:52Motivating Examples
  6. 6:53Buffered Sequential Allocator: design
  7. 9:50Buffered Sequential Allocator: benefits
  8. 10:26Buffered Sequential Allocator: risks
  9. 22:00Example of Using Allocators Library Fundamentals Polymorphic Allocators
  10. 27:02Vocabulary Types
  11. 30:33Weasel Words
  12. 38:54Allocator Propagation
  13. 41:02Allocator Traits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.