~/talk

Taming dynamic memory

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [rust]
slides:none on file

Taming dynamic memory argues that locality and explicit allocator choice beat vague “examples” and global new/delete by showing concrete strategies, costs and failures: monotonic allocator (pointer bump, reset-only, fits per-frame or request lifetimes), chunked pool and size-class multipool (deterministic time, internal waste, diffusion), and C++17’s polymorphic memory resource with chaining. The talk lists concrete pitfalls—fragmentation, padding, ABA, realloc and zero-size quirks—gives real use cases (frames, web requests) and warns against DIY general-purpose allocators.

AI-written summary · about

  1. 0:00Intro
  2. 0:17About me
  3. 0:37Overview
  4. 1:12General purpose allocator
  5. 2:20Fragmentation
  6. 3:28Coalescing
  7. 4:47Problems with det allocator
  8. 11:45Monotonic Allocator - Reclamation
  9. 14:07Where is this actually useful?
  10. 18:05Monotonic Allocator - STL containers
  11. 19:31unordered sap
  12. 21:46Stack Allocator
  13. 24:17Alignment
  14. 28:49Padding
  15. 29:38Monotonic Allocator - Extensions
  16. 32:09The Bottom Line
  17. 34:39Pool Allocator - Reclamation
  18. 36:18Pool Allocator - Diffusion
  19. 39:37Pool Allocator - STL containers
  20. 43:12Allocator support in C++
  21. 46:36C++ Memory Resources?
  22. 48:06Chaining
  23. 52:21There's no universal interface for allocators
  24. 55:36Don't underestimate the global allocator
  25. 57:59Wrapping up
~/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.