https://github.com/kellpossible/smart-pointers
My notes following along with the video presentation "Crust of Rust: Smart Pointers and Interior Mutability" by Jon Gjengset
https://github.com/kellpossible/smart-pointers
Last synced: about 1 year ago
JSON representation
My notes following along with the video presentation "Crust of Rust: Smart Pointers and Interior Mutability" by Jon Gjengset
- Host: GitHub
- URL: https://github.com/kellpossible/smart-pointers
- Owner: kellpossible
- License: other
- Created: 2020-06-18T17:15:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-18T17:18:51.000Z (almost 6 years ago)
- Last Synced: 2025-01-29T10:15:41.035Z (over 1 year ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Smart Pointers and Interior Mutability Notes
This repository contains my notes following along with the video presentation [Crust of Rust: Smart Pointers and Interior Mutability](https://www.youtube.com/watch?v=8O0Nt9qY_vo) by Jon Gjengset. It explores how to implement simple versions of the standard library's `Cell`, `RefCell`, `Rc`, and how to make use of `unsafe` code and the `UnsafeCell` to implement these lower level constructs and document it correctly.
**WARNING: this code should not be used in production!**