~/talk

Designing and Implementing a new Allocator model

Talkat Meeting C++ 2016 · 2016-11-18..11-19· [rust]
links:none on file
slides:none on file

Argues for a concrete replacement of the STL allocator: a single raw allocator model that allocates bytes not types, adds alignment and separate node/array APIs, and stores movable references so containers can share stateful allocators. Implements stack, pool, static and virtual block allocators, a composable try_allocate/try_deallocate scheme for fallback composition, STL adapter glue, and a joint allocation facility that packs object and member buffers into one block. Ships working code and microbenchmarks versus Boost pool showing competitive performance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06STL allocator problems
  3. 4:14New raw allocator design
  4. 9:09Simpler raw allocator interface
  5. 12:45Implementing new allocator
  6. 13:26Stack allocator
  7. 16:59Block allocator
  8. 21:39Pool allocator
  9. 24:27Adapting allocators
  10. 25:54Composing allocators
  11. 28:44Block allocator examples
  12. 32:40Practical allocator boilerplate
  13. 35:48Joint memory allocations
  14. 41:31Q&A
~/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.