~/talk

Codecs and Funny Looking Functors

Talkat LambdaConf 2017 · 2017-05-25..05-27· [scala, networking]
links:none on file
slides:none on file

Uses scodec to build actual encoders/decoders: shows the greedy-string problem, implements a size‑prefixed (var) encoder over bitvectors and Attempt results, composes primitive codecs into a DNS packet codec, derives ISOs to move between bitvector/bytearray/tuples, and plugs codecs into Netty/NIO as a profunctor IO abstraction. Produces a working DNS client that round-trips UDP packets and returns multiple IPs, with STUN mentioned as another real protocol example.

AI-written summary · about

  1. 0:00Start
  2. 1:04Building Real-World Applications with Fp Libraries
  3. 3:02Encoder
  4. 3:26Decoder
  5. 3:39Decode Result
  6. 4:19Utf-8
  7. 8:15Custom Codec
  8. 9:24Var Encoder
  9. 20:53Ipv4 Codec
  10. 21:15Io Non-Blocking I / O
  11. 28:35Isomorphism
  12. 34:37Write a Dns Client from Scratch
~/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.