Skip to content
Rust Search
← Live Coding

Let's write an async runtime

Rust Nation UK
RustNation 1:05:08 3173 views

Have you ever wondered what exactly the async/await syntax in Rust really does behind the scenes, or what this whole async runtime business is all about? Perhaps you came across the `Pin` and `Unpin` types and couldn't quite understand why they're needed? Or maybe you saw a long cryptic error message from the Rust compiler regarding your `Future` not implementing `Send` and it confused the hell out of you? Or maybe you know all of that and you always wanted to look into the nitty-gritty of an as

Player unavailable or embedding blocked? Use the YouTube link above.

Other talks by Zeeshan Ali Khan

How I optimized zbus by 95%

FOSDEM

This is a story of how I used a few readily-available Open Source tools to achieve huge optimizations in zbus, a pure Rust D-Bus library. This was long journey but gains were worth the efforts. I will go through each single bottleneck found, how it was found and why it was a bottleneck and how it was optimized away. While attending this talk will by no means make you an expert in optimizations, it is my hope that by you will be able to relate to some of bottlenecks or solutions I will present ("hey", I also do that in my code!") and learn from my experience. Maybe afterwards, you can suggest an even better solution? Moreover, if you don't already have any experience with profiling and optimizations, this talk should be a good introduction for that.