#5 Rust Programming Tutorial | mutable, type casting, shadowing, unused variables

Опубликовано: 09 Январь 2025
на канале: CodeasByteS
89
like

#rustprogramming

Rust Programming tutorial, Data types in Rust
Integer data types
float data types (f32, f64)
boolean (true, false)
char

play list:    • Rust Programming Tutorial  
1st video link:    • #1 Rust Programming Tutorial || Rust ...  
2nd video link:   • #2 Rust Programming tutorial || hello...  
3rd video link:    • #3 Rust Programming Tutorial | Data t...  
4th video link:    • #4 Rust Programming Tutorial | intege...  
github code link: https://github.com/ganaidu707/CodeasB...

Rust has a wide range of integer types of known size:
i8, i16, i32, i64, i128
u8, u16, u32, u64, u128
f32, f64
bool, char

Rust also has platform-specific integer types:
isize, usize

https://www.rust-lang.org/learn
A language empowering everyone to build reliable and efficient software
Rust is blazingly fast and memory-efficient: with no runtime or garbage collector, it can power performance-critical services, run on embedded devices, and easily integrate with other languages.

Rust’s rich type system and ownership model guarantee memory-safety and thread-safety — enabling you to eliminate many classes of bugs at compile-time.

Rust has great documentation, a friendly compiler with useful error messages, and top-notch tooling — an integrated package manager and build tool, smart multi-editor support with auto-completion and type inspections, an auto-formatter, and more.