hackertube.io

Cory Benfield - Building Protocol Libraries The Right Way - PyCon 2016

PyCon 2016 · talk · Watch on YouTube

What it is

Cory Benfield's PyCon 2016 talk on building protocol libraries that can be reused widely, using the Python Hyper HTTP project as the example. He argues for separating protocol parsing from I/O.

Why Hacker News recommends it

HN points to it as the foundational argument for sans-I/O protocol library design.

  • 2 people recommended it
  • 2 different months
  • 0 strong recommendations
  • first 2016, last 2024

What HN commenters said

  1. “makes the argument that a large number of problems can be traced to not cleanly separating responsibilities”

    Argues for separating I/O from protocol parsing across frameworks.

    geofft, 2016-06 · Recommendation · in “Accidentally nonblocking”

  2. “give some really great brainfood about the way currently all kinds of network protocols are implemented”

    Great brainfood on separating protocol logic from IO.

    mindcrash, 2017-12 · Recommendation · in “Ask HN: Separate Logic from IO”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: python, http2, separation of concerns, network protocols, library design

Also recommended by the same people