News for hackers. Stuff that matters.
Re:Rust 2024 the Year of Everywhere? by biorach on Friday September 23, 2022 @06:04AM (#32949915)
> "Allows more operations" seems like a straightforward meaning for "different semantics" to me. In Safe Rust, you can't access union members. In Unsafe Rust you can

The semantics are the same. The meaning of the operation is same. In both safe and unsafe accessing union members is the same operation with the same meaning. The only difference is that in unsafe Rust you are allowed do this. This is a difference in permission, not meaning

Re:Rust 2024 the Year of Everywhere? by woodruffw on Friday September 23, 2022 @10:36AM (#32952509)
The meaning of the operation is not the same, because it is not an operation in Safe Rust.
Re:Rust 2024 the Year of Everywhere? by biorach on Friday September 23, 2022 @11:24AM (#32953178)
it's an operation that is not allowed in safe rust. big difference.