Skip to content

Refcell practice problems in Rust

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 11 of 11

Title Difficulty
Build Cell<T> and RefCell<T> from scratch Hard
Build Rc<T> and RefCell<T> from scratch Hard
Build tree paths with an arena and Rc Hard
RAII: build your own guard Medium
Rc<RefCell<T>>: shared inboxes and an arena alternative Hard
RefCell<T>: borrowing checked at runtime Medium
Reference cycles leak memory Hard
Share a log with RefCell and report borrow conflicts Medium
Trace a lazy map, filter and take pipeline Easy
Weak<T>: non-owning references that break cycles Hard
When RefCell panics: re-entrancy and borrows held too long Hard