Re:Why writing a linked list in Rusts is basically impossible
by hmm_really on Thursday February 22, 2018 @02:26PM
(#16440592)
Okay thats the bit that I was missing, seems a reasonable compromise!
Re:Why writing a linked list in Rusts is basically impossible
by steveklabnik on Thursday February 22, 2018 @11:18AM
(#16438628)
Yup. It’s a totally reasonable thing to do here. It’s why it exists!
That's what I didn't understand - why the author didn't just use "unsafe". There's nothing intrinsically bad about using "unsafe", you just have to test that code thoroughly. There's plenty of robust C code out there.