Title | : | Rust's lifetimes made easy |
Duration | : | 06:39 |
Viewed | : | 9,043 |
Published | : | 06-12-2023 |
Source | : | Youtube |
Let's figure out Rust's lifetime concept. We'll walk through a small Rust program that uses references and see what Rust means when it talks about a lifetime (and why Rust is so loud when it detects an error). Please support Tim through Patreon! https://www.patreon.com/timClicks The speaker further explains Rustβs warnings against reusing references and introduces terms such as 'Box' and the creation of values outside the function's local scope. The video successfully simplifies complex ideas like data allocation, reference modification, and the static lifetime concept. I hope that this is a useful resource for all developers wanting to deepen their understanding of Rust programming language. Suggestions for future videos are very welcome! π¦ Rust resources: - Tim's tutorial videos https://timclicks.dev - Rust Documentation: https://doc.rust-lang.org/book/ - Rust Playground: https://play.rust-lang.org/ - Rust in Action (Tim's book!) https://mng.bz/4MlD - How to Learn Rust (online course!) https://learning.accelerant.dev/how-to-learn-rust π Connect with Tim: - Twitter: https://twitter.com/timClicks - GitHub: https://github.com/timClicks - Mastodon: https://mastodon.nz/@timClicks - DEV: https://dev.to/timclicks/ - Patreon (extra learning materials) https://www.patreon.com/timClicks π Subscribe to the channel and click the bell icon to stay updated with the latest videos and live streams from timClicks: https://www.youtube.com/timClicks?sub_confirmation=1 π Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.
T to &'static T 09:08 - 3,412 |
but what is 'a lifetime? 12:20 - 59,766 |
Is Tmux DEAD? Zellij is the new multiplexer wri... 32:38 - 9,631 |
Why Rust is NOT a Passing Fad... 08:54 - 28,402 |
GOSIM 2024 Europe AI & Agents Dioxus Al: The Fu... 38:45 - 704 |
8 deadly mistakes beginner Rust developers make 14:14 - 156,939 |
tree-sitter explained 15:00 - 72,732 |
Async Rust Is A Bad Language | Prime Reacts 28:46 - 87,285 |