Module show_notes::e017
source · Expand description
Point me where I need to go
- Date: August 5, 2016
- Subject: A deep dive on references and pointers in Rust.
- Audio
§Notes
By listener request, today we look at the syntax and semantics of
referencing and dereferencing and the corresponding &
and *
operators.
As was the case with e016, the code samples have little to say in their documentation; reading the code will be necessary for seeing the ideas.
§Links
- “Inside the Fastest Font Renderer in the World”
- The Rust Platform:
- Cargo vendoring support in nightly
- MIR on by default in nightly
- References and dereferencing:
- The Rust Programming Language:
- Rust by Example: Flow Control: pointers/ref
- The Rust Reference:
§Sponsors
- Aleksey Pirogov
- Cameron Mochrie
- Cass Costello
- Chris Palmer
- Daniel Collin
- Derek Morr
- Doug Reeves
- Eric Fulmer
- Hamza Sheikh
- Jakub “Limeth” Hlusička
- Jared Smith
- Keith Gray
- Lachlan Collins
- Leif Arne Storset
- Luca Schmid
- Micael Bergeron
- Pascal Hertleif
- Ralph Giles (“rillian”)
- Ralph “FriarTech” Loizzo
- Raph Levien
- reddraggone9
- Ryan Ollos
- Steven Murawski
- Vesa Kaihlavirta
- William Roe
(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)
§Become a sponsor
§Contact
- New Rustacean:
- Twitter: @newrustacean
- Email: hello@newrustacean.com
- Chris Krycho
- GitHub: chriskrycho
- Twitter: @chriskrycho
Structs§
- A dummy container for use with references.
Functions§
- A simple example of using the dereference operator.
- A simple demonstration of matching against a reference type.
- Give a basic example of how the reference operator works.