2 ms·
First, please consider the context of my comment. Second, Rust itself is implemented with unsafe. Self-referential data structures are necessary for some probl
by stouset 4y ago
First, please consider the context of my comment.
Second, Rust itself is implemented with unsafe. Self-referential data structures are necessary for some problem domains, and those must be implemented with unsafe. Unsafe exists and is a tool that is sometimes necessary. When it is necessary, it should be used carefully.
Just because you haven't needed unsafe personally doesn't mean others don't. And the Rust developers aren't superintelligences capable of using it correctly while the rest of us mere mortals aren't.