I smell AI. If you don't write it, I don't read it.
How many letters are in the word 'volatile' ?
I think we need a "Flag AI Slop" button.
I'm just curious about this for historical interest.
Also, fun fact: Rust cannot remove anything from std once stabilised, presumably forever. Take this with a slight grain of salt, I haven't vetted this thought myself, but it's what I hear from Rust project people and I've just been in the project all-hands for three days.
Rust does partially have an easier time since it eg. does not guarantee the ABI of various std types like Vec (although the size and alignment are probably guaranteed at this point), and with 1&mut XOR N& providing local reasoning and isolation you get to change internal details easier.
https://www.reddit.com/r/cpp/comments/1tja9zr/c_profiles_a_c...