Introduction to Rust (Part III)
Want to try Equinix Metal? Use the code "rawkode-live" for $50 of credit, which is roughly 100 hours of compute on our smaller instances. Sign up at https://equinixmetal.com---Rust is a multi-paradigm programming language designed for performance and safety, especially safe concurrency. Rust is syntactically similar to C++ but can guarantee memory safety by using a borrow checker to validate references. Rust achieves memory safety without garbage collection, and reference counting is optional. Rust was originally designed by Graydon Hoare at Mozilla Research, with contributions from Dave Herman, Brendan Eich, and others. The designers refined the language while writing the Servo layout or browser engine, and the Rust compiler. It has gained increasing use in industry, and Microsoft has been experimenting with the language for secure and safety-critical software components. Rust has been voted the "most loved programming language" in the Stack Overflow Developer Survey every year since 2016.š° Timeline00:00 - Holding screen00:30 - Introductions05:00 - Creating our first Rust application08:00 - Explaining Rust editions08:30 - Creating our first Rust application15:45 - Lifetime elision19:00 - Generic types and functions with Impl Into Option33:40 - Program inputs with std::env36:00 - Lifetimes41:00 - Writing an anagram finder52:50 - Pulling dependencies from Crates.io55:00 - Looking at Structopt1:05:00 - Loading a file with BufReader1:15:20 - Collect1:17:00 - Iterators, Filters, and Mapš LinksJane Lusby - https://twitter.com/yaahc_Awesome Rust Mentors - https://rustbeginners.github.io/awesome-rust-mentors/Cheats.rs - https://cheats.rs