Rust Crash Course | #7 Overflow, Type Casting & Conversion

Published: 16 October 2022
on channel: Code of the Future
1,069
57

Welcome back to video number 7 in this Rust tutorial series! In this video, I talk you through a very important aspect of Rust: Overflow. We look at the consequences of overflow and how to overcome it using methods like type casting and conversion.

NOTE: the range for a u8 is 0 to 255 (not 225 as said in the video)

📖Resources📖
Rust Online Book: https://doc.rust-lang.org/book/

💻Code💻
https://github.com/code-of-the-future...

⏰Time Stamps⏰
00:00 - Quick Recap of the Previous Video
01:27 - Overflow
14:24 - Type Casting and Conversion

🔗 Social Media Links 🔗
▶️YouTube:    / @codeofthefuture  
📸 Instagram:   / codeofthefuture  
📱TikTok:   / codeofthefuture  
📘Facebook:   / codeofthefuture  
🦜Twitter:   / code_ot_future  
📝LinkedIn:   / code-of-the-future  
📂GitHub: https://github.com/code-of-the-future

💸 Donations 💸
One-Time Donations: https://ko-fi.com/codeofthefuture
Patreon:   / code_of_the_future  


Watch video Rust Crash Course | #7 Overflow, Type Casting & Conversion online without registration, duration hours minute second in high quality. This video was added by user Code of the Future 16 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,069 once and liked it 57 people.