~/talk

Elsewhere Memory (C++20 Abstract Machine) + Virtual Memory

Talkat ACCU 2019 · 2019-04-10..04-13· [c-and-cpp]
links:none on file
slides:none on file

C++20 currently lacks legal support for memory owned elsewhere, so dynamic allocators, mmaps and shared memory rely on undefined behaviour. Proposal adds detached_cast and attach/detach semantics: detaching ends object lifetime, uses a compiler-only fence (atomic_signal_fence) to force stores, reattaching does a memmove-to-self then reconstructs objects, enabling safe relocation and inter-process sharing between identical binaries. It teaches the abstract machine about pages (private/shared/clean) to match VM reality, cites ≈6,000 CPU-cycle page faults and PCIe ≈500 ns latency, and targets KV devices like Samsung KV-SSD.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Contents
  3. 5:15C++ 20 abstract machine
  4. 18:12Further reading
  5. 19:08Virtual Memory - Overview
  6. 23:01Virtual Memory - Private pages
  7. 24:51Virtual Memory - Files
  8. 27:19Virtual Memory - Swap file
  9. 29:38Elsewhere Memory - What is it?
  10. 34:21Elsewhere Memory - Accessing it
  11. 40:21Problem to solved
  12. 44:13Object attachment/detachment
  13. 47:28Detachment operations
  14. 55:39Attachment operations
  15. 58:20Reachable C++ programs 2/3
~/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.