News for hackers. Stuff that matters.
Re:Rust Ownership Rules by jrvidal on Monday March 02, 2020 @05:23AM (#22463184)
I'm not sure that's correct. `UnsafeCell` is a Rust lang item that might disable some optimizations, I think?

https://doc.rust-lang.org/src/core/cell.rs.html#1483

Re:Rust Ownership Rules by simias on Monday March 02, 2020 @05:27AM (#22463202)
You're right, I just saw that. Well I least I learned something new about Rust today!
Re:Rust Ownership Rules by aratakareigen on Monday March 02, 2020 @08:08AM (#22464024)
Yep, you can't implement UnsafeCell yourself without running into undefined behavior.