Cory Benfield - Building Protocol Libraries The Right Way - PyCon 2016
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
“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”
“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
talkSimplicity Ain't Easy - Stuart HallowayClojureTV · 5 HN recommenders · 2013–2017
demoHarder Drive: Hard drives we didn't want or needsuckerpinch · 12 HN recommenders · 2022–2025
commentaryThis Video Is Sponsored By ███ VPNTom Scott · 9 HN recommenders · 2019–2026
talkA New Way to look at NetworkingGoogle · 6 HN recommenders · 2011–2018
commentaryNet Neutrality: Last Week Tonight with John Oliver (HBO)LastWeekTonight · 7 HN recommenders · 2014–2017
explainerCharacters, Symbols and the Unicode Miracle - ComputerphileComputerphile · 4 HN recommenders · 2014–2025
talk8 Frames in 16ms: Rollback Networking in Mortal Kombat and Injustice 2GDC Festival of Gaming · 4 HN recommenders · 2020–2025
explainerWhy SpaceX is Making StarlinkReal Engineering · 4 HN recommenders · 2019–2020