filmov
tv
#5 Rust Programming Tutorial | mutable, type casting, shadowing, unused variables #rust #rustlang

Показать описание
#rustprogramming
Rust Programming tutorial, Data types in Rust
Integer data types
float data types (f32, f64)
boolean (true, false)
char
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
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.
Rust Programming tutorial, Data types in Rust
Integer data types
float data types (f32, f64)
boolean (true, false)
char
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
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.