News for hackers. Stuff that matters.
Re:What Is Rust's Hole Purpose? by verdagon on Friday February 18, 2022 @11:44AM (#30387984)
> If you are interested in helping solve any of these problems, please reach out!

Coincidentally, we're working on these problems with Vale [0] by obviating the need for unsafe, while still having single ownership's performance benefits, by taking generational indices (a common Rust/C++ technique) and building them into the language itself, and by moving borrow checking to the region level instead of the object level [1].

Time will tell if it works out!

[0] https://vale.dev/

[1] https://verdagon.dev/blog/seamless-fearless-structured-concu...

Re:What Is Rust's Hole Purpose? by zozbot234 on Friday February 18, 2022 @12:32PM (#30388582)
Many PL folks are now looking into ways to generalize Rust's borrow checking approach. Even the Rust community is getting into this kind of stuff with the GhostCell proposal and its many variations. It remains to be seen how such extensions and generalizations might be adopted in a way that's reasonably intuitive and ergonomic.