Beingessner: Rust's Unsafe Pointer Types Need An Overhaul
Beingessner: Rust's Unsafe Pointer Types Need An Overhaul
Posted Mar 22, 2022 1:47 UTC (Tue) by jlombera (guest, #155698)In reply to: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul by tialaramex
Parent article: Beingessner: Rust's Unsafe Pointer Types Need An Overhaul
I don't see how this is atomics. Sure you might want/need atomics/synchronizations in addition to volatile is some cases, but the use of volatile in this case is to ask the compiler not to optimize access to certain memory, always go to memory.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
