Re:Comfy, the 2D rust game engine, is now archived
by orphea on Monday September 09, 2024 @08:04AM
(#41487744)
It's been a while when I worked with Rust, but when I did I felt like people misuse Rust references. IIRC, they are not supposed to be short-living, i.e. you get a reference, do your thing and get rid of it asap. For actually long-living references Rc<> should work pretty fine?
[ Parent
| on HN ]
There are no comments on this comment yet.