@BRIAN_____ Who told you that? A raw pointer definitely isn't treated as volatile. It would make everything incredibly slow.
@CopperheadSec That is `*volatile_p`. But, we're missing `volatile uint8_t buffer[N]`-i.e. “Don't touch this except when/how I tell you to.”
-
-
@BRIAN_____ That won't actually do anything in C though, at least with LLVM. It only makes the loads and stores get marked as volatile ops. -
@BRIAN_____ The Rust compiler won't generate any loads/stores if you're not touching it in the code so it wouldn't actually change anything. -
@BRIAN_____ Rust sits on top of LLVM IR, which is more well-defined than C, so you probably want to officially document those semantics.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.