A show about the Rust programming language and the people who use it.
e014: Stringing things along
April 25, 2016
18:58
7.92 MB
Downloads: 0
Strings
&str
s and Vec
s and slices (and Unicode) – oh, my!
Notes
This episode, I take a deep dive on strings in Rust, looking at the differences between String
and &str
, discussing Unicode a bit, and then expanding the discussion to think about how these types relate to the types they’re built on (like Vec
).
Links
- Strings:
- The Rust Book
- Rust by Example
str
docs:String
- Dereferencing
Sponsors
- Aleksey Pirogov
- Chris Palmer
- Derek Morr
- Hamza Sheikh
- Lachlan Collins
- Leif Arne Storset
- Luca Schmid
- Micael Bergeron
- Pascal Hertleif
- Ralph Giles (“rillian”)
- Ralph “FriarTech” Loizzo
- reddraggone9
- Ryan Ollos
- 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