Skip to content
Rust Search
← FOSDEM 2019

Sans IO: safe and testable network protocols

FOSDEM

Implementing network protocols is a hard task, especially considering the support of conflicting implementations, or long term maintenance. And it does not help that testing them often requires complex client or server setups. By removing IO from the equation, and instead working directly with buffers, we’ll see that testing instantly becomes easier to setup, the core implementation becomes completely deterministic, and the protocol gets more reusable. This talk draws heavily from experience imp

Recording not playing? Use the FOSDEM link above.

Other talks by Geoffroy Couprie

Sōzu, a hot reconfigurable reverse HTTP proxy

Rust Programming Language
RustFest 30:26 3165 views

Could you write a Rust program that never, ever has to stop? Not even for configuration changes or binary upgrades? One that will handle the traffic for thousands of applications on many more virtual machines that get up and down at any time? The Sōzu HTTP reverse proxy is there to solve that problem. This talk will cover various parts of its architecture, from its streaming HTTP parser built with nom, its single-threaded worker handling events with mio, and all the associated tooling to command and control the proxy. Geoffroy Couprie http://geoffroycouprie.com/ https://github.com/Geal https://users.rust-lang.org/users/geal/activity

Integrating Rust and VLC

Confreaks
RustConf 32:47 4211 views

RustConf 2016 - Integrating Some Rust in VLC Media Player by Geoffroy Couprie VLC media player has a nice goal for users: handle almost any file or protocol you throw at it. Unfortunately, this results in a lot of parser vulnerabilities, because most of the parsing code is handwritten in C. By leveraging Rust and the nom parser combinators library, could we replace some security critical parts of VLC?