6 ms·
Borrow checking, generics (dynamics) and lifetimes could be tricky to explain to beginners. I recently wrote myself a software renderer in rust to learn the ro
by Honga 6y ago
Borrow checking, generics (dynamics) and lifetimes could be tricky to explain to beginners.
I recently wrote myself a software renderer in rust to learn the ropes and had a pretty big initial hill to climb.
- paulgb 6y agoFor sketches, I find that in practice I tend not to bump up against the borrow checker at all. Here’s a thread of sketches (all with code) that I wrote when I was experimenting with nannou; explicit lifetimes are nowhere to be seen. https://twitter.com/paulgb/status/1248698789839454214?s=21 https://twitter.com/paulgb/status/1248698789839454214?s=21