~/talk

Binary Parsing - C++23 Style!

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

Claims a self‑contained embedded DSL written with C++23 Template Metaprogramming that generates parsers at compile time without macros or external code generators, handles padding/alignment via explicit field sizes and fixed_string non‑type template parameters, supports nested structs and length‑prefixed vectors, performs runtime validation and returns std::expected‑style errors (buffer exhaustion), uses a monadic pipeline and field‑lookup by type lists, and links to the repo https://github.com/hariceratops/s2s/tree/main.

AI-written summary · about

  1. 0:00Binary parsing in C++23
  2. 3:58Common pitfalls
  3. 8:11Solutions for challenges
  4. 11:43Template metaprogramming promises
  5. 12:45Why choose templates
  6. 14:11Building parser from scratch
  7. 17:25Fixed string utilities
  8. 20:34Field access and layout
  9. 24:24Field uniqueness checks
  10. 27:52Reading binary data
  11. 31:46Error handling pipelines
  12. 36:04User-facing API
  13. 37:28Performance benchmarks
  14. 38:31Future with reflection
  15. 41:20Project links and closing
  16. 42:50Q&A on configurability
~/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.