~/talk

Practical Binary with Scodec

Talkat Scala World 2015 · 2015-09-20..09-22· [scala, data-visualization]
slides:none on file

Scodec uses Shapeless to derive binary encoders and decoders from Scala types, generating derived codecs for case classes and sealed traits via HLists, Coproducts, records and unions; codecs are first-class Encoder/Decoder effects that can fail with rich path-aware error messages pointing to the exact field, and allow explicit formats like an unsigned 13‑bit PID or tagged unions; library includes BitVector, composes codecs, auto-derives sealed‑hierarchy codecs, and achieves real workloads (≈20 Mbps on laptops) often matching or beating hand‑coded solutions.

AI-written summary · about

  1. 0:00Introduction to scodec
  2. 2:16Library architecture
  3. 3:32Basic usage and shapeless
  4. 13:40Working with Hlists
  5. 23:31Co-products and unions
  6. 38:29Advanced generic derivation
  7. 49:12Q&A and performance
~/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.