Rust 101 - 5: References

September 30, 2023 [Rust, Tech, Videos]

Starting some more advanced Rust programming ideas by looking at references - the ability to "borrow" values and refer to them without taking ownership. We look at mutable and immutable references, and the rules about references that prevent us ever having an "invalid" reference that points at something that has been dropped or changed.

Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Async, Unsafe, FFI

This section (More syntax): 5: References, 6: Structs and Enums, 7: Panic and Result, 8: Methods, 9: Vec and Box, 10: Strings, 11: Exercises A2

Links:

The course materials for this series are developed by tweede golf. You can find more information at github.com/tweedegolf/101-rs and you can sponsor the work at github.com/sponsors/tweedegolf. They are released under the Creative Commons Attribution Share Alike 4.0 International license.

This series of videos is copyright 2023 Andy Balaam and the tweede golf contributors and is released under the Creative Commons Attribution Share Alike 4.0 International license.