In this lightning talk, we take a look at ArcShift, a lock-free data structure for shared data that still needs to be mutated.
I'd like to share what we've learned in the last 2 years, when building Iggy.rs message streaming infrastructure from the ground up.
After spending many happy years in Scala, not mutating anything but copying objects faster than rabbits breed I ventured into the world where each allocation is carefully examined and it is perfectly normal to reuse the same list for different purposes.
We will explore some ways to make Async Rust programming more enjoyable and more efficient at the same time.
I applied PGO to many kinds of software, collected a lot of carefully hidden traps on my journey, and found multiple ways how to avoid them. In this talk, I want to share with you my experience.