~/talk

A Faster Serialization Library Based on Compile-time Reflection and C++ 20

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

A serialization library called struct pack uses compile-time reflection in C++20 to avoid per-field type tags, generate a compile-time MD5 type hash placed at the front of the binary, and special-case trivially copyable and contiguous containers to memcpy whole payloads. Benchmarks claim about 3× faster than msgpack and protobuf and up to hundreds of times faster for trivial-copy scenes; the implementation is open source and the approach succeeds on the presented test cases.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Other Serialization Libraries
  3. 3:45structpack
  4. 11:03type checking
  5. 13:41hash code
  6. 20:25testing
~/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.