~/talk

Persistence squared: persisting persistent data structures

Talkat Meeting C++ 2025 · 2025-11-06..11-08· [databases]
links:none on file
slides:none on file

Library immer::persist serializes pools of immutable containers so structural sharing survives disk round trips rather than becoming independent JSON arrays. It preserves sharing during large in-memory transforms and upgrades (e.g., v1 string-vector → v2 char-vector), works with immer containers and serial for JSON, and is used inside a BRONZE digital audio workstation prototype. Performance claims include iteration comparable to std::vector and amortized O(1) push_back; current limits: experimental, JSON only, needs portable hashing for hash tables and incremental/binary formats are TODO pool-based serialization preserves internal nodes

AI-written summary · about

  1. 0:00Introduction to persistence
  2. 10:47Value semantics at scale
  3. 20:27Software architecture demo
  4. 23:49Challenges in serialization
  5. 31:30The Immer Persist library
  6. 37:22Data structure transformations
  7. 45:35Advanced features and limitations
  8. 48:27Future work and conclusion
~/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.