A Guided Tour of Streams in Rust

By Erèbe - Romain Gerard

Elevator Pitch

You don’t understand anything about Stream, FusedStream. They are a fundationnal concept in Async Rust, when you want to do GRPC, Wbsocket or anything network related ! Let’s discover this new concept and how to use them in Rust

Description

The talk will present the same concept than this blog post

It is an introduction to Async Rust and how streams are the equivalent of Iterator in the async world. After this introduction, I will present how to create and consume stream and explain the distinction between the several types ;-)

Notes

I think I am legit to talk about those topics :

  • I have been deploying in production for 4 years Async Rust code that power my company infrastructure
  • I contributed to several issues in the opensource community around async rust

https://github.com/hyperium/h2/issues/633

https://github.com/rust-lang/futures-rs/pull/2686

https://github.com/denoland/fastwebsockets/pull/63

https://github.com/nats-io/nats.rs/pull/177

  • I developped and maintain a “popular” open-source project with async-rust https://github.com/erebe/wstunnel