Unsafe Rust versus C and C++
Unsafe Rust versus C and C++
Posted Feb 5, 2025 17:29 UTC (Wed) by Trainninny (guest, #175745)In reply to: Unsafe Rust versus C and C++ by excors
Parent article: Resistance to Rust abstractions for DMA mapping
https://stackoverflow.com/questions/25664848/is-it-allowe...
For C:
>if a member of a union object is accessed after a value has been stored in a different member of the object, the behavior is implementation-defined
Posted Feb 5, 2025 18:34 UTC (Wed)
by excors (subscriber, #95769)
[Link]
Unsafe Rust versus C and C++