DevelopersTV

LinkedLists in Rust — Extending API Contracts to Cover Data Lifetimes

tanmay bakshi — Nov 12, 2022 — tutorial

Why watch

A practical tutorial demonstrating how to implement a linked list in Rust while understanding the borrow checker's role in ensuring memory safety. The video translates a Swift implementation to Rust, showing how Rust's type system can encode data lifetimes into API contracts for enhanced static verification. Ideal for developers with basic Rust knowledge who want to understand lifetime annotations and advanced memory safety patterns.