Re:Handles Are the Better Pointers
by danhau on Wednesday June 21, 2023 @04:43PM
(#36424130)
I kind of agree. A while ago I was thinking about how to implement something like Roslyn's red-green-trees in Rust. The solution I came up, with a similar in principle handle-and-allocator approach, did work, but would need the occasional cleanup, to get rid of zombie objects. At that point I realised that all I've done was reinvent a poor mans garbage collector.
[ Parent
| on HN ]
There are no comments on this comment yet.