A Gentle Introduction to LLVM IR
mcyoung.xyz
mcyoung.xyz
In Rust, there is no volatile types. There are two functions, read_volatile and write_volatile, on pointers.
Rust’s API is basically identical to the intrinsics, whereas C and C++‘s are not. This plays out with stuff like the drama around volatile compound operators being deprecated.
I'd like to see more of stuff like this