News for hackers. Stuff that matters.
Re:Rust Starter Kit 2020 by k__ on Saturday October 03, 2020 @03:18PM (#24674077)
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?
Re:Rust Starter Kit 2020 by steveklabnik on Saturday October 03, 2020 @03:42PM (#24674198)
It’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.
Re:Rust Starter Kit 2020 by lumost on Saturday October 03, 2020 @04:53PM (#24674594)
I'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 )