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

Опубликовано: 16 Октябрь 2022
на канале: 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  


Смотрите видео Rust Crash Course | #7 Overflow, Type Casting & Conversion онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code of the Future 16 Октябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,069 раз и оно понравилось 57 людям.