4 ms·
Atomicity and visibility are also an issue.
by gpderetta 8y ago
Atomicity and visibility are also an issue.
- amelius 8y agoYou still need synchronization instructions, but you can handle them through library function calls (i.e., you don't need to change the language specification for them).
- jzoch 8y agoThats what C++ thought too :). I believe the whole point of this paper is to argue your point (minus the whole lets simplify the compiler so that it cant do a ton of optimizations part since nobody would agree to that)
- deleted 8y ago[deleted]
- amelius 8y agoWell, in my book correctness comes first. So if you want to do multi-threading without changing the language, then you'll have to fix the compiler (to make it preserve correctness).