~/talk

Binary Object Serialization with Data Structure Traversal & Reconstruction in Cpp

Talkat CppCon 2022 · 2022-09-11..09-16· [databases]
links:none on file
slides:none on file

Claims a minimally intrusive, portable C++14/17 serialization that deduces types with Template Argument Deduction (TAD), uses SFINAE/std::enable_if<> (and can move to C++20 concepts), and reconstructs polymorphic types via a CRTP serializable registry holding factory pointers and type hashes. It tracks object IDs to avoid recursive reentrancy, compacts integer encoding, supports files/memory/sockets with checksum and optional xor filtering, serializes shared_ptr graphs, and demos show a tree persisted to file and a ping‑pong socket roundtrip that reconstructs the same object graph.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Agenda
  3. 7:46Serialization Style
  4. 9:00Saving Objects
  5. 12:40Types
  6. 16:59Archive
  7. 19:19Serializable
  8. 21:28Multiple Layers
  9. 23:13Base Type
  10. 24:41Serializable Base
  11. 29:35Serializable Inheritance
  12. 31:35Data Sources
  13. 32:54Socket Source
  14. 35:05Key and checksum
  15. 36:52Stream optimization
  16. 37:59Multilayer inheritance
  17. 44:50Shared pointers
  18. 47:49Multilayer example
  19. 48:31Stream Ice example
~/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.