Introduction to Rust (Part III)
Meet the Cast
HOST
David Flanagan
@rawkode
Stay ahead in cloud native
Tutorials, deep dives, and curated eventsβno fluff.
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.
π° Timeline
00:00 - Holding screen
00:30 - Introductions
05:00 - Creating our first Rust application
08:00 - Explaining Rust editions
08:30 - Creating our first Rust application
15:45 - Lifetime elision
19:00 - Generic types and functions with Impl Into Option
33:40 - Program inputs with std::env
36:00 - Lifetimes
41:00 - Writing an anagram finder
52:50 - Pulling dependencies from Crates.io
55:00 - Looking at Structopt
1:05:00 - Loading a file with BufReader
1:15:20 - Collect
1:17:00 - Iterators, Filters, and Map
π Links
Jane Lusby - https://twitter.com/yaahc_
Awesome Rust Mentors - https://rustbeginners.github.io/awesome-rust-mentors/
Cheats.rs - https://cheats.rs
Related Videos
Kubernetes Disaster Recovery
Flatcar Linux: A Modern OS for the Always-On Infrastructure
Platform Engineering: Asking "Why"? with Evelyn Osman
βToday we had some long conversations about Arc Bash and the future of scripting as well as platforms and the rise and fall of Kubernetes.
Hands-on with Headlamp: The Kubernetes UI
Join us as we explore Headlamp β an extensible, user-friendly Kubernetes UI. Weβll walk through installing, configuring, customizing, and using it in real time.
Comments