(no title)
bstamour | 6 years ago
Indirection in C and C++ is a mess, but at least C has the "restrict" keyword. Best to program with value types whenever you can, and use pointers and references when you must.
bstamour | 6 years ago
Indirection in C and C++ is a mess, but at least C has the "restrict" keyword. Best to program with value types whenever you can, and use pointers and references when you must.
rrss|6 years ago
My understanding is that compilers can always assume that there is no other thread involved, which (part of) why C11 atomics are necessary. Is that not the case?
alexlarsson|6 years ago
H8crilA|6 years ago
It is allowed to concurrently read from const regions. But not concurrently read and write, and definitely not concurrently write.
bstamour|6 years ago