Rust 101 - 9: Vecs, Boxes and slices
Explanation of some of the most commonly used types in Rust: Vecs, which store lists of items, Boxes that allow us to own things that we keep on the heap, and slices that are a way of referring to parts of Vecs or arrays without owning them. In case you're interested, the bug that Andy found mid-recording(!) in the slides was fixed in https://github.com/tweedegolf/101-rs/issues/97 . 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 An
βhttps://video.infosec.exchange/w/oaE4V8rfZLKq6gU1DQEq46