~/talk

Killing C++ Serialization Overhead & Complexity

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

Claims a C++20, macro‑less serializer (zpp bits) that matches or beats handwritten code in benchmarks (handwritten ~830 ms, zpp bits ~827–879 ms after tweaks) and produces tiny binaries versus multi‑megabyte libraries (examples: 2 MB vs ~43 KB). Uses memcpy/bitcast, templates, Concepts, constexpr and force inline to get the compiler to emit memcpy instead of per‑byte loops, supports freestanding/embedded operation without exceptions, offers RPC via variants and structured‑binding reflection workarounds, and is implemented and validated against protobuf/flatbuffers benchmarks.

AI-written summary · about

  1. 0:00Intro
  2. 0:20What is object serialization
  3. 1:20Zero overhead
  4. 4:02I cant afford it
  5. 6:14What is this talk about
  6. 12:17How to use this library
  7. 15:34Assembly
  8. 18:04Format
  9. 19:11handwritten code
  10. 24:09toolbox
  11. 27:39C Serializer
  12. 29:22Serialization
  13. 31:17Overhead Comparison
  14. 34:00Force Inline
  15. 36:37Reflection
  16. 38:44Structures
  17. 42:40Remote Procedure Call
  18. 45:04RPC Bindings
  19. 47:27Protobuf Comparison
  20. 49:33Summary
  21. 51:41QA
~/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.