Premium Only Content

Lets Learn Rust - 5 - The Integer Data Type
G'day guys
In this video I talk about the integer data type in Rust. I explain both signed an unsigned integers as well as how many bytes each stores, how Rust deals with overflow issues at compile time and much more.
We talk about the following data types specifically:-
- i32 - The default integer type.
- i8
- i16
- i64
- i128
- isize (And how it works for both 32 and 64 bit systems)
- u8
- u16
- u32
- u64
- u128
- usize (Again and how it works for both 32 and 64 bit systems)
Important Times
00:00 - Introduction
01:24 - Declaring and initializing an integer implicitly
03:20 - Understanding how numbers are stored in signed integers
05:36 - Understanding overflow and the compiler
07:24 - Listing all available signed integer types
08:06 - Brief description of the isize type
08:51 - Explanation of unsigned integer types
11:09 - Listing all available unsigned integer types
11:32 - Looking at sizes and number ranges of each integer type
14:27 - Exploring isize and usize on a 32 bit Ubuntu machine
15:47 - When to use each integer type
19:11 - Conclusion
-
LIVE
VINCE
2 hours agoTulsi Just Found The Classified Election Rigging Files | Episode 20 - 04/11/25
65,033 watching -
1:00:01
BonginoReport
5 hours agoFighting the Red Dragon: Evita + Natalie Winters - BR Early Edition w/ Evita (Ep.180)
103K49 -
LIVE
Matt Kohrs
10 hours ago🔴[LIVE] China Retaliates, Breaking Inflation News & Payday Friday || The MK Show
1,203 watching -
LIVE
Wendy Bell Radio
6 hours agoAll The President's Men
10,365 watching -
LIVE
Canada Strong and Free Network
3 hours agoCanada Strong and Free Network
179 watching -
Randi Hipper
1 hour agoFIRST CRYPTO BILL SIGNED INTO LAW! HISTORICAL MOVE EXPLAINED
8.09K -
1:29:08
JULIE GREEN MINISTRIES
4 hours agoLIVE WITH JULIE
143K153 -
5:24
SKAP ATTACK
1 day ago $5.72 earnedLuka Humiliates Mavericks in Dallas Return
41.1K9 -
45:42
Dad Dojo Podcast
1 day ago $1.81 earnedEP27: How To Warn Your Kids About Online Dangers
30.3K1 -
19:25
Neil McCoy-Ward
22 hours ago🔥 The EU Makes SHOCK Announcement! (Sinister Plans Revealed To..
52.3K42