Variable, References, and Lifetimes in Rust — A Practical Introduction | by Shanmukh Sista | Jun, 2022

Master the Rust basics Photo by Possessed Photography on Unsplash In this article, we’ll touch upon some basics for variables, memory, and references in Rust. The goal is to understand why Lifetimes exist in RUST and how can we work with the Rust compiler to write safe code. We’ll see some simple examples that highlight … Read more