Hacker News new | ask | show | jobs
by Honga 2011 days 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.

1 comments

For 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