3 ms·
Is there any work happening to make them easier to implement or is this just "how Rust is" and people have to live with it?
by k__ 6y ago
Is there any work happening to make them easier to implement or is this just "how Rust is" and people have to live with it?
- steveklabnik 6y agoIt’s not clear what would make it easier, and it’s also not something people are particularly crying out for. They’re not super common structures and as soon as someone makes a crate, you can use it and get on with life. And if you have to, you can just write what you would in C, so it’s not harder exactly, either.
- lumost 6y agoI'd +1 a quick section in the book on when unsafe is the best choice using some referential datastructure ( along with potentially a few other examples where unsafe must be used )