Have you actually used `volatile` in production code?
Name:
Anonymous
2020-12-05 4:47
No, but i've heard its useful to prevent compilers optimizing away
critical code paths. _Atomic's are better in every aspect for enforcing data access integrity.
https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
Name:
Anonymous
2020-12-05 17:16
Another smoke signal you can send to the gods to hope your compiler makes your code faster.
Inline tier bullshit. Use #define.
Name:
Anonymous
2020-12-05 21:26
Sure, for interrupt driven hardware input. But that was combined with a FPGA PCI card, back when PCI still existed.
Name:
Anonymous
2020-12-06 10:32
Is memory mapped IO still a thing?