~/talk

Implementing Binary Protocols with Elixir

Talkat ElixirConf 2016 · 2016-09-01..09-02· [elixir-and-erlang]
slides:none on file

An Elixir library that encodes and decodes HPACK header block fragments using binary pattern matching and bit-level integer parsing is implemented and exercised; a gen_server holds the static+dynamic HPACK header table, Huffman decode/encode runs for strings, and encode/decode roundtrips pass RFC-derived examples. Tests import the RFC hex dumps with a small parser to assert headers and table sizes. Implementation is on GitHub, inspired by Cowboy, and the RFC tests prove the parser works.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55The Web
  3. 2:31HTV
  4. 7:13Motivation
  5. 12:07Hback Protocol
  6. 13:07String with Binary
  7. 14:22Code Overview
  8. 16:37Pattern Matching
  9. 21:27Recursive Functions
  10. 23:17String pausing
  11. 25:44Integer encoding
  12. 29:17Pattern match
  13. 30:30Encoding
  14. 33:03String
  15. 33:48Integers
  16. 34:33RFC Tests
  17. 39:10Final Thoughts
~/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.