← findnix.eu
🎬 video.infosec.exchange video.infosec.exchange

Rust 101 - 10: Strings

⏱ 19:35 🌐 video.infosec.exchange

What a String is in Rust, and how they differ from &str. Strings are resizeable arrays of bytes that are guaranteed to be in UTF-8 format. &strs are references to chunks of bytes that are also guaranteed to be in UTF-8 format. If you want to learn more about UTF-8 and character encodings, check out my video [Interesting Characters](https://diode.zone/w/gNpErrnzszRi55rtDzcubH). Links: * Slides: http://artificialworlds.net/presentations/rust-101/A2-advanced-intro * Exercises: https://artificialworlds.net/presentations/rust-101/exercises/A2-advanced-intro/mod.html Rust 101 is a series of videos explaining how to write programs in Rust. The course materials for this series are developed by tweede golf. You can find more information at https://github.com/tweedegolf/101-rs and you can sponsor the work at https://github.com/sponsors/tweedegolf . They are released under the Creative Commons Attribution Share Alike 4.0 International license. This series of videos is copyright 2024 Andy Bal

β†—https://video.infosec.exchange/w/s5QFq27HxVvgYVcMkGfzah
#programming #rust #strings
Indexiert von findnix.eu Β· Eigene Seite einreichen