Want to see who else is supporting EuroRust this year?
Join the party as partners ➡️ eurorust.eu?utm_source=b...
#RustLang #RustConference #EuroRust25 #CodSpeed #RustPerformance
0
0
0
0
Latest posts tagged with #RustPerformance on Bluesky
Want to see who else is supporting EuroRust this year?
Join the party as partners ➡️ eurorust.eu?utm_source=b...
#RustLang #RustConference #EuroRust25 #CodSpeed #RustPerformance
println!("Size of i32: {}", std::mem::size_of::<i32>()); //output: Size of i32: 4 println!("Size of i64: {}", std::mem::size_of::<i64>()); //output: Size of i64: 8 println!("Size of String: {}", std::mem::size_of::<String>()); //output: Size of String: 24
🔍 #Rustlang Tip: Use std::mem::size_of::<T>() to check the size of types at compile-time.
#RustPerformance #Rust30by30 #Day17