To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/GreenTeaCoding/ . You’ll also get 20% off an annual premium subscription.
RefCell is the prime example for interior mutability, but lots of Rustaceans don't know how and when to use it. In this video, we not only learn the usage, but also the inner workings of RefCell.
#rustlang #softwarearchitecture #softwaredevelopment
00:00 Intro
00:19 The Need for Interior Mutability
04:18 Introducing RefCell
06:04 The Panic Trap
07:00 Borrowing Rules at Runtime
09:43 Brilliant Sponsorship
10:59 RefCell Deep Dive
22:43 Wrap-Up and Outro
This video was sponsored by Brilliant.