Skip to content
Rust Search
← Browse conferences

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 ("

Recording not playing? Use the FOSDEM link above.

Other talks by Zeeshan Ali Khan

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 async runtime implementation but never got around to it? If your answer to any of these questions is "yes", this talk is for you. In this talk, Zeeshan will (or rather attempt to) explain it all. He'll do that the hard way: by writing a simple async runtime. He has never done this before, so either he'll succeed or fail, but one thing is guaranteed: by the end of the talk, we'll all have a much better grasp of async/await machinery in Rust and how async runtimes work than we did before the talk.