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

Channel:PyCon 2016 · Length:31:37 · Published:2016-05-31 · Views:14863

Watch on YouTube

Summary

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 HN recommends it

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

give some really great brainfood about the way currently all kinds of network protocols are implemented — HN, 2017

Python, Ruby & scripting languages · Software architecture & design · Networking & internet infrastructure

Subtitles (excerpt)

And Cory Benfield is going to be talking about building protocol libraries the right way. So let's give a big hand for Cory. [applause] All right, thank you all for showing up for the most boringly named talk of the conference and getting over the fact that it's the last talk of the day. Hello, my name is Cory, but -- that was just too tragic. [laughter] Hello, my name is Cory, I'm a software developer, I'm based in London. If you would like to give running commentary of this talk or tweet abuse, I'm available at various places. You can go find things. I live on the interwebs most of the time. I work at Hewlett Packard Enterprise. I work in Hewlett Packard Enterprise's kind of open source focused upstream team. And for my part that means that overwhelmingly I work on open source Python HTTP. This covers a really quite broad range of responsibilities but the ones I spend the most time on are some of the things on the board, the ones you're likely to know, Requests is obviously pretty famous. That's the one I spend a large chunk of time on, but I also spend a lot of time on urllib3 which is the project underlying Requests. It's probably the most important Python project that none of you have heard of.

On Hacker News

In some cases it is very practical, even in other (non functional) programming languages. For example, [LINK] (and its accompanying talk [VIDEO] ) give some really great brainfood about the way currently all kinds of network protocols are implemented, and the benefits of separating the protocol (Logic) from the actual implementation (IO). You might also want to query Google or DDG for "Free monad… — mindcrash, 2017-12
Cory Benfield's PyCon talk last week, "Building Protocol Libraries the Right Way" ( [VIDEO] ), makes the argument that a large number of problems can be traced to not cleanly separating responsibilities of actually physically doing I/O and making semantic sense of the bytes. His primary worry was about reimplementing things like HTTP many times, once for each I/O framework (why do Twisted, Tornad… — geofft, 2016-06
The above sans-io page links to this PyCon 2016 talk: Cory Benfield - Building Protocol Libraries The Right Way [VIDEO] — dloss, 2024-04

Related videos