News for hackers. Stuff that matters.
Re:Handles Are the Better Pointers by stephc_int13 on Wednesday June 21, 2023 @12:07PM (#36420353)
Handles are great, and I agree that their use can help solve or mitigate many memory management issues.

The thing is that Handles themselves can be implemented in very different fashions.

I extensively use handles in my own framework, and I plan to describe my implementation at some point, but so far I have seen 3-4 different systems based on different ideas around handles.

We might need a more precise naming to differentiate the flavors.

Re:Handles Are the Better Pointers by chubot on Wednesday June 21, 2023 @03:08PM (#36422923)
Yeah I agree, seems like most of the comments here are talking about slightly different things, with different tradeoffs

Including memory safety