Go offline with the Player FM app!
e016: RefCells and code smells
Manage episode 201015682 series 2135115
Digging deeper on smart pointers and mutability with Cell
and RefCell
.
Notes
What are the Cell
and RefCell
types, and when should we use them?
Today, we follow up both the detailed discussion of smart pointers in e015 and the closely related discussion in Interview 2 with Raph Levien, and look at two types you need to have a good idea how to deal with if you want to use these smart pointer types more ergonomically—that is, how to use them without feeling like you’re beating your head against a wall!
Links
- Rust 1.10
- blog post
- full release notes
- cdylib
- RFC: text | discussion
- implementation
- rustup 0.3.0 release
- Integer32 (Carol Nichols’ and Jake Goulding’s new Rust consultancy)
- IntelliJ Rust
- Tango: source | talk
Cell
andRefCell
:- Cell Types in The Rust Programming Language
- Standard library:
Sponsors
- Aleksey Pirogov
- Chris Palmer
- Daniel Collin
- Derek Morr
- Doug Reeves
- Eric Fulmer
- Hamza Sheikh
- Jakub “Limeth” Hlusička
- Keith Gray
- Lachlan Collins
- Leif Arne Storset
- Luca Schmid
- Micael Bergeron
- Michael Clayton
- Pascal Hertleif
- Ralph Giles (“rillian”)
- Ralph “FriarTech” Loizzo
- Raph Levien
- 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
105 episodes
Manage episode 201015682 series 2135115
Digging deeper on smart pointers and mutability with Cell
and RefCell
.
Notes
What are the Cell
and RefCell
types, and when should we use them?
Today, we follow up both the detailed discussion of smart pointers in e015 and the closely related discussion in Interview 2 with Raph Levien, and look at two types you need to have a good idea how to deal with if you want to use these smart pointer types more ergonomically—that is, how to use them without feeling like you’re beating your head against a wall!
Links
- Rust 1.10
- blog post
- full release notes
- cdylib
- RFC: text | discussion
- implementation
- rustup 0.3.0 release
- Integer32 (Carol Nichols’ and Jake Goulding’s new Rust consultancy)
- IntelliJ Rust
- Tango: source | talk
Cell
andRefCell
:- Cell Types in The Rust Programming Language
- Standard library:
Sponsors
- Aleksey Pirogov
- Chris Palmer
- Daniel Collin
- Derek Morr
- Doug Reeves
- Eric Fulmer
- Hamza Sheikh
- Jakub “Limeth” Hlusička
- Keith Gray
- Lachlan Collins
- Leif Arne Storset
- Luca Schmid
- Micael Bergeron
- Michael Clayton
- Pascal Hertleif
- Ralph Giles (“rillian”)
- Ralph “FriarTech” Loizzo
- Raph Levien
- 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
105 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.