~/talk

Frictionless Allocators

Talkat ACCU 2021 Online · 2021-03-10..03-13· [c-and-cpp]
links:none on file
slides:none on file

Shows that custom allocators deliver real wins — microbenchmarks report 3–5x speedup and a modeled Bloomberg pipeline sees about a 25% speedup in motor — and argues the friction is language, not algorithm. Proposes implicit allocator awareness and a compact using syntax allocator injection so constructors, factory returns and variable declarations get the right pmr allocator automatically. Prototype work on a Circle front end proves the syntax passes allocators through existing library code; next steps are std2 string/vector implementations and wider experiment.

AI-written summary · about

  1. 0:00Intro
  2. 0:47Outline of Talk
  3. 1:25What is an allocator?
  4. 2:04Why Do We Want Allocators?
  5. 2:55A Faster Allocator
  6. 3:52Performance
  7. 7:02Special Memory
  8. 7:59Emery Berger
  9. 8:40Accelerating Programs via Custom Allocators
  10. 9:00Initial empirical results
  11. 9:56Early Results
  12. 11:24Allocator Traits (since 2011)
  13. 15:56How does pmr work?
  14. 16:42memory_resource
  15. 18:30Standard Resources
  16. 20:46Idiom and usage of pm
  17. 24:17Quick Example
  18. 26:23Scoped Allocator Model
  19. 32:45Limitations of pmr
  20. 34:26Bloomberg Experience
  21. 35:27Unsupported use cases
  22. 37:34Allocator Propagation
  23. 38:26Complexity of Propagation
  24. 39:22Syntactic overhead is high
  25. 41:44Copy Constructor Issue
  26. 42:36Ideal Model
  27. 44:17Allocator Awareness
  28. 45:20Why Implicit from Members?
  29. 46:55Why querying matters
  30. 49:41Simplifying Construction
  31. 51:06Worked Example
  32. 54:44Implementing Awareness
  33. 56:38Implicit Awareness
  34. 57:57Allocator Injection
~/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.