Rust Patterns I Have Known and Loved

When adopting Rust, there are many unfamiliar patterns and often what feels like a steep learning curve for those who aren't familiar with the language. For lower-level code, there are some times where trying to do something simple feels outright impossible. On the other hand, those guardrails are incredibly valuable and we can use them to write better code. For higher-level code there are times where fearless concurrency and async can feel almost magical. Based on some practical examples from open-source projects and a few distilled examples, in this talk we'll explore some design patterns in Rust and some cool tricks that can be used to overcome some of the challenges and potential performance pitfalls. 


Speaker

Brian Martin

Co-founder and Software Engineer @IOP Systems, Focused on High-Performance Software and Systems, Previously @Twitter

Brian is a software engineer who focuses on performance optimization and distributed systems. He worked at Twitter for 8 years, initially with the Cache Team and later as a member of the newly created Performance Team. After November 2022, Brian joined his teammates from Twitter as a co-founder of IOP Systems and continues to work on improving software and platform performance, efficiency, and reliability.

Read more

Date

Monday Nov 18 / 01:35PM PST ( 50 minutes )

Location

Pacific DEKJ

Topics

Rust Performance Systems Programming

Share

From the same track

Session Serverless

High Performance Serverless with Rust

Monday Nov 18 / 11:45AM PST

Rust and AWS Lambda seem like the perfect fit. Micro-sized virtual machines and a highly-performant systems language that has a proven track record of delivering a quality developer experience. So why hasn't more adoption occurred?

Speaker image - Benjamen Pyle

Benjamen Pyle

Co-Founder & CEO @Pyle Cloud Technologies, LLC, Uniquely Genuine and Resourceful Technology Creator

Session Rust

Myth Busters: Is Rust a Slam Dunk?

Monday Nov 18 / 03:55PM PST

We built a high-scale caching service with rigorous latency, cost, and availability requirements in Kotlin. Then, we rewrote our services in Rust. Was it worth it?

Speaker image - Ramya Krishnamoorthy

Ramya Krishnamoorthy

Principal Engineer Building High Performance Serverless Caching at Momento With 18+ Years of Software Experience, Previously Foundational Engineer for Streaming Media Services @AWS and Senior Engineer for Financial Trading Systems @Bloomberg

Session Rust

Fearless Programming with Rust

Monday Nov 18 / 02:45PM PST

Rust is a language that boasts the best of many worlds: ergonomic, expressive, performant and safe. The promise of Rust is being able to write complex code, at any layer of the stack, and be confident that it behaves as intended.

Speaker image - Senyo Simpson

Senyo Simpson

Software Engineer @Fly.io Working on Systems Software and Kubernetes, Previously Did Machine Learning @Aerobotics

Session Rust

Rust: A Productive Language for Writing Database Applications

Monday Nov 18 / 10:35AM PST

When you think about Rust, you might think of performance, safety, and reliability, but what about productivity? Historically associated with systems programming, Rust's promise of safety, speed, and concurrency has led to its widespread adoption at the infrastructure level.

Speaker image - Carl Lerche

Carl Lerche

Principal Engineer @AWS, Author of the Tokio Rust Library

Session Rust

Rebuilding Prime Video UI with Rust and WebAssembly

Monday Nov 18 / 05:05PM PST

Prime Video delivers content to millions of customers, all over the world, on a variety of devices such as: game consoles, set-top boxes, streaming sticks, and Smart TVs. These devices have a vast range of hardware capabilities and performance characteristics.

Speaker image - Alexandru Ene

Alexandru Ene

Principal Engineer @Amazon