~/talk

“Lightweight Object Persistence With Relocatable Heaps in Modern C++"

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp, databases]
links:none on file
slides:none on file

Shows a concrete implementation that uses C++11/14 allocator and pointer_traits to build a relocatable heap backed by segmented storage and a backbone array, storing std::string, std::list and std::map directly in shared or private memory. Implements synthetic pointers (segment+offset) and an allocator wrapper, serializes segments with simple binary IO (memcpy each segment to disk or to a shadow segment and then swap-buffers), preserves class invariants for POD-like relocatable types only, tests on clang and MSVC2015 U3, demo works though dereference cost rises and allocation is a simple leaky allocator.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:50Problem and motivation
  3. 12:29Relocatable heap concept
  4. 17:47Structural management concepts
  5. 25:14C++11 allocator improvements
  6. 30:15Code walkthrough and types
  7. 45:54Practical example and demo
  8. 53:40Conclusions and applications
  9. 55:51Q&A session
~/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.