~/talk

Binary Object Serialization With Structure Traversal & Reconstruction

Talkat CppNorth 2022 · 2022-07-18..07-20· [c-and-cpp]
links:none on file
slides:none on file

Minimally intrusive binary serializer that deduces types with TAD-based type deduction, writes compact varint IDs and little-endian primitives, and recreates objects via a CRTP-backed virtual-constructor using a type_info hash map. It emits object IDs to detect and reuse cycles so graphs with loops are reconstructed rather than duplicated, supports pointers/shared_ptr/unique_ptr/vectors/maps/strings, streams over files or sockets with optional XOR/filtering, and proves practical C++14-compatible code with C++17/C++20 optimizations on GitHub.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:29MFC inspiration and project goals
  3. 3:15Binary serialization vs text formats
  4. 6:04Archive object and core mechanism
  5. 13:05Handling pointers and object IDs
  6. 16:12Polymorphic serialization challenges
  7. 21:14Type info and object reconstruction
  8. 25:03Reflection and virtual constructors
  9. 31:23Data sources and network streaming
  10. 34:10Filtering and checksums
  11. 37:00Dynamic integer compression
  12. 39:06Handling standard containers
  13. 43:27Custom serialization operators
  14. 45:55C++14 to 17 vs C++20 concepts
  15. 48:02Compiler and platform compatibility
  16. 55:14Comparison with Boost.Serialization
  17. 55:57File and network demos
  18. 59:23Versioning and future work
  19. 1:00:49Q&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.