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
Fuck you, Hashicorp ... an IBM Company.
HashiCorp archived the repo without warning. Here is why their excuse about "product market fit" is a lie.
Replace Your GitHub Actions YAML with CUE
Are you tired of copy-pasting YAML between repositories only to be bitten by typos after pushing?
MinIO, we won't miss you.
MinIO just announced maintenance mode for their community edition β and honestly? Good riddance.
Relaunching Klustered ... with Heroku Vibes
Building and Launching a Marketing Page on Heroku with AI in Under 20 Minutes
Comments