~/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 an embedded DSL that produces compile-time parser generation using C++23 template metaprogramming and constexpr, avoiding handwritten boilerplate or external codegen. Implementation is ~5,000 lines on GitHub (hariceratops/s2s) and uses std::expected, span/file streams and folded template pipelines to read fields, handle padding/endianness (compile-time only) and bubble errors with readable diagnostics. A minimized example compiles and works; benchmarks are provisional.

AI-written summary · about

  1. 0:00Introduction
  2. 3:30Binary parsing challenges
  3. 9:04Possible solutions
  4. 10:07Project goals
  5. 13:21Template metaprogramming primer
  6. 15:08Building field descriptor system
  7. 21:11Struct field constraints
  8. 27:14Compile-time parser generation
  9. 35:19API and benchmarks
  10. 36:22C++26 reflection plans
  11. 39:13Conclusion
~/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.