Always generate all your serialization code
summary
Claim: generate every serializer from one machine-readable description so a single source of truth replaces 300-page PDFs and the two months it can take to implement a protocol. A working online protocol Butler v1 generates C++ serialization/deserialization, synchronized documentation, test vectors and analysis tools, cutting bugs and security issues from hand-written bit fiddling. It handles legacy bit-level formats and produces portable code; a Toledo version with richer text/binary support is in development. Always generate all your serialization code
AI-written summary · about
chapters (14)
- 0:00Start
- 0:34Communication Protocols
- 1:08Important !
- 1:18Proper Documentation?
- 1:33Working Implementation?
- 1:47Analyzing Hard Issues? 010100011101001
- 2:07Crazy Documentation
- 2:44Complex Implementation
- 3:03Change the Protocol
- 3:16Change the Platform
- 3:27Single Point of Truth
- 4:15Full Control
- 4:46Always generate all your serialization code!
- 5:31No divergence between source code and documentation
related talks
51mGenerate You Some Code for Great Good
26mMaking life easier with Derive and other tools
37mThings I learned after a decade of writing code generators
42mBecoming the Metaprogrammer Real World Code Generation
33mSource Generators in Action
53mCode Generation: ....
18mFast Models Need Slow Developers
32mcode generation productivity for Dart and Flutter
