~/talk

pinned_vector

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

pinned_vector claims a contiguous container that avoids pointer invalidation by reserving huge virtual address ranges and committing pages on demand with VirtualAlloc / mmap, so push_back never triggers a relocate and pop_back can decommit pages. Benchmarks show comparable performance when reserved and up to 5× speedup for large, nontrivial element counts because copies and reallocations vanish. Works on Linux, macOS and Windows (limited on some mobile platforms), source due on GitHub.

AI-written summary · about

  1. 0:00Start
  2. 1:59std::vector Invalidation
  3. 4:02Contiguous Storage Invariant
  4. 5:11Alternatives with Truly Stable Pointers
  5. 9:35pinned_vector Invalidation
  6. 10:09Virtual Memory History
  7. 11:18Virtual Memory vs Physical Memory
  8. 14:12Memory Management Unit
  9. 15:07Translation Lookaside Buffer
  10. 17:00Swap Space
  11. 18:37TLB Miss
  12. 19:26Thrashing
  13. 20:04Mapping Memory
  14. 21:02pinned_vector Internals
  15. 33:08Availability
  16. 34:25Use Case ECS
  17. 37:42ECS with std:: array
  18. 39:01Future Work
  19. 39:44Thank you
  20. 42:10Benchmark Conclusions
~/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.