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
Dear America
52 minutes agoIs Peace STILL POSSIBLE?! Only Trump Knows!! + Will This Split MAGA Forever?
7,569 watching -
LIVE
Wendy Bell Radio
4 hours agoHidin' Joe Biden
2,096 watching -
LIVE
LFA TV
11 hours agoLFA TV ALL DAY STREAM - THURSDAY 6/19/25
5,520 watching -
LIVE
Game On!
16 hours ago $0.90 earnedThe NBA Finals WILL END Tonight With OKC As CHAMPS!
2,631 watching -
LIVE
RalliedLIVE
2 hours ago $1.82 earned24 HOUR BIRTHDAY STREAM
367 watching -
20:38
Producer Michael
19 hours agoAmazing Luxury Discoveries On The Las Vegas Strip
41.9K2 -
8:48
Faith Frontline
12 hours agoThe Moment That Shattered Dave Smith’s Atheist Beliefs
10K4 -
2:39:17
Side Scrollers Podcast
18 hours agoKing of the Couch 2025: WHO WILL TAKE THE CROWN?!
60.4K3 -
10:58
MattMorseTV
19 hours ago $4.99 earnedLindsey Graham just got EXPOSED.
22K66 -
BEK TV
23 hours agoTrent Loos in the Morning 6/19/2025
10.7K