~/talk

Unshaped Protos Beyond Code Generation for Protocol Buffers

links:none on file
slides:none on file

Library takes Scala case classes and generates Protocol Buffer serializers without .proto files, using three approaches: manual, slow runtime reflection, and generic derivation via shapeless HList + implicit induction. Macros then generate compile-time code that matches hand-generated performance (benchmark shows macros near baseline, generic derivation slower due to HList boxing, reflection about two orders of magnitude slower). Supports custom field serializers, decoding remains unresolved for out-of-order fields, and macros improve error messages but make debugging harder. Use Magnolia for recursive types.

AI-written summary · about

  1. 0:00Introduction
  2. 0:35Why scalloped EB
  3. 3:02What are protocol buffers
  4. 6:05Why use protocol buffers
  5. 10:50Runtime reflection
  6. 13:10Generic derivation
  7. 13:56Hlists
  8. 15:50Generic
  9. 18:13Implicit Search
  10. 19:48Failed Serializer
  11. 20:42Generic Descriptor
  12. 21:30Message Sterilizer
  13. 23:30Message Serializer
  14. 24:52Review
  15. 34:40Performance benchmark
~/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.