Beingessner: Rust's Unsafe Pointer Types Need An Overhaul
Beingessner: Rust's Unsafe Pointer Types Need An Overhaul
Posted Mar 22, 2022 4:16 UTC (Tue) by jlombera (guest, #155698)In reply to: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul by mrugiero
Parent article: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul
> Your C program typically doesn't know about nor can control how cache gets flushed and sync'd.
The processor knows, though. All the compiler needs to do is not to register-optimize and emit memory access instructions instead, the processor takes care of maintaining cache coherence.
