News for hackers. Stuff that matters.
Re:Unsigned Sizes: A Five Year Mistake by kibwen on Saturday May 02, 2026 @08:54PM (#47992147)
More than that, in theory an opaque handle would also do things like statically prevent a handle taken from one array from being used to access a different array. I feel like this should be possible in Rust with type-level shenanigans (e.g. GhostCell).
Re:Unsigned Sizes: A Five Year Mistake by thezipcreator on Sunday May 03, 2026 @08:54PM (#48003360)
this is possible in rust, albeit with a lot of shenanigans. See this article where someone made a GC in rust where the external references are bound to a specific GC via a unique lifetime: https://kyju.org/blog/tokioconf-2026/