Whoops! I Rewrote it in Rust by Brian Martin @StrangeLoopConf
Whoops! I Rewrote it in Rust by Brian Martin  @StrangeLoopConf
Uploaded October 2021 | Updated November 2026, 2 days ago
Three engineers, at various points, each take their own approach adding Rust to a C codebase, each being more and more ambitious. I initially just wanted to replace the server’s networking and event loop with an equally fast Rust implementation. We’d reuse many core components that were in C and just call into them from Rust. Surely it wouldn’t be that much code…

Pelikan is Twitter’s open source and modular framework for in-memory caching, allowing us to replace Memcached and Redis forks with a single codebase and achieve better performance. At Twitter, we operate hundreds of cache clusters storing hundreds of terabytes of small objects in memory. In-memory caching is critical, and demands performance, reliability, and efficiency.

In this talk, I’ll share my adventures in working on Pelikan and how rewriting it in Rust can be more than just a meme.

Brian Martin
Twitter
@brayniac

Brian is a software engineer at Twitter where he focuses on performance and optimization projects. He contributes to several Twitter open source projects including: Pelikan, Rezolus, and rpc-perf. Brian is passionate about high performance software, systems tuning, monitoring, benchmarking, and Rust. When not hacking on code, Brian volunteers in his local search and rescue unit and is training his dog to find people who get lost in the wilderness.

Recorded at Strange Loop 2021
thestrangeloop.com
Whoops! I Rewrote it in Rust by Brian MartinBeyond Blockchain: Convergent Consensus by Mike Anderson (Strange Loop 2022)Branchstack: branching infra for better development by Patrick Flor and Alex PearsonIntroducing the HandAxe Collections Pattern Language by Maurice Rabb (Strange Loop 2022)Christoph Treude: Automatically enhancing error messagesIPVM: Seamless Services for an Open World by Brooklyn Zelenka (Strange Loop 2023)Swift as C++ Successor in FoundationDB by Konrad Malawski (Strange Loop 2023)Margaret-Anne Storey: What does productivity actually mean for developers?How Automated Tools Can Communicate Effective Strategies for Fixing Bugs by Justin SmithAlberto Bacchelli: How code review works (and doesnt) in the real worldHow to Build a Meaningful Career by Taylor Poindexter and Scott Hanselman (Strange Loop 2023)Impacting Global Policy by Understanding Litter Data by Sean Doherty
Strange Loop Conference |

"Whoops! I Rewrote it in Rust" by Brian Martin

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER