Skip to content
Rust Search
← RustFest 2018

Immutable Data Structures and why You want them

Rust Programming Language
RustFest 30:35 7075 views

There’s a discrepancy between the careful attention to mutability and immutability in Rust itself and the data structures available in the standard library. The only way to update a Vec with an immutable ref is to clone it first, which could get expensive. But what else can you do? Turns out there’s a number of data structures out there that make it cheap and easy to do immutable copies and updates. Some are so simple it’s ridiculous, some are anything but, and we’re going to dive into some of t

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