DIP 1024--Shared Atomics--Community Review Round 1
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Thu Oct 10 07:11:39 UTC 2019
On Thursday, 10 October 2019 at 07:03:26 UTC, Ola Fosheim Grøstad
> As far as I can tell, one could get better optimization if one
> could assume that certain memory areas are not accessed by
> other threads and avoid C++-ish sequencing points even in code
> that use concurrency-primitives. That seems to be out of scope?
Or to be blunt, if "shared" has no effect on the IR then it ought
to be removed from the language and replaced with mechanisms that
makes it possible to implement the "shared" marker functionality
as a template wrapper.
More information about the Digitalmars-d