An open API service indexing awesome lists of open source software.

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

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!**