I was just reading this RFC and I realized that there were some things that I don't understand.
What is the use of an immutable static? Isn't this a const?
static X: i32 = 0;
I also didn't understand this part:
[...] creating a mutable reference to shared memory is undefined behavior, even if you never dereference that reference.
What is the undefined behavior there? Isn't that just like having a pointer that you never use?
Thanks for illuminating this wannabe Rustacean