Добавить
Уведомления

Ownership in Rust - Rust Crash Tutorial

In this lesson, we will cover the following topics: - What is ownership? - The `Stack` and the `Heap` - Ownership rules - Variable scope - The `String` type - Memory allocation and the `Drop` function - The `Move` trait - The `Clone` trait - The `Copy` trait - Final Recap GitHub Repository https://github.com/FrancescoXX/rust-ownership 🦀 All the lessons: Installation and Hello World: https://youtu.be/R33h77nrMqc Variables: https://youtu.be/6Ag0MZUlvBE Data Types: https://youtu.be/NyqJp5M3hRE Functions: https://youtu.be/hJLc2Zu405A Basic Control flow: https://youtu.be/2w_FTiD74JI Ownership: https://youtu.be/9VBLOwmNE1g References and Borrowing: https://youtu.be/Q_0yoX07Fhs Slices: https://youtu.be/dKymZbFp0ZQ Structs: https://youtu.be/PCjuO-Bv5FI Struct Example: https://youtu.be/mgK5LezkHl8 Methods: https://youtu.be/94iSHoKmPmY ALL THE LINKS HERE: https://francescociulla.com 0:00 What is Ownership in Rust and Memory handling. 2:22 The Stack and the Heap 3:25 The Stack 4:37 The Heap 6:05 Operations with the Stack and the Heap 7:58 Ownership Purpose, Ownership Rules 9:05 Demo: Variable Scope 9:41 The `String` type 10:38 Memory allocation and the `Drop` function 11:44 the `Move` trait + explanation 15:35 the `Clone` trait 17:12 the `Copy` trait 19:20 Final recap

Иконка канала Поддержка и общение
38 подписчиков
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

In this lesson, we will cover the following topics: - What is ownership? - The `Stack` and the `Heap` - Ownership rules - Variable scope - The `String` type - Memory allocation and the `Drop` function - The `Move` trait - The `Clone` trait - The `Copy` trait - Final Recap GitHub Repository https://github.com/FrancescoXX/rust-ownership 🦀 All the lessons: Installation and Hello World: https://youtu.be/R33h77nrMqc Variables: https://youtu.be/6Ag0MZUlvBE Data Types: https://youtu.be/NyqJp5M3hRE Functions: https://youtu.be/hJLc2Zu405A Basic Control flow: https://youtu.be/2w_FTiD74JI Ownership: https://youtu.be/9VBLOwmNE1g References and Borrowing: https://youtu.be/Q_0yoX07Fhs Slices: https://youtu.be/dKymZbFp0ZQ Structs: https://youtu.be/PCjuO-Bv5FI Struct Example: https://youtu.be/mgK5LezkHl8 Methods: https://youtu.be/94iSHoKmPmY ALL THE LINKS HERE: https://francescociulla.com 0:00 What is Ownership in Rust and Memory handling. 2:22 The Stack and the Heap 3:25 The Stack 4:37 The Heap 6:05 Operations with the Stack and the Heap 7:58 Ownership Purpose, Ownership Rules 9:05 Demo: Variable Scope 9:41 The `String` type 10:38 Memory allocation and the `Drop` function 11:44 the `Move` trait + explanation 15:35 the `Clone` trait 17:12 the `Copy` trait 19:20 Final recap

, чтобы оставлять комментарии