Memory reordering explained by example
deadalnix
deadalnix at gmail.com
Wed May 16 14:13:13 PDT 2012
Le 16/05/2012 12:59, Gor Gyolchanyan a écrit :
> The problem is, that ancient processor architectures are used for modern
> processors and software.
> The correct solution to the concurrency problems would be a new
> architecture, designed to naturally deal with concurrency.
>
> On Wed, May 16, 2012 at 12:44 PM, deadalnix <deadalnix at gmail.com
> <mailto:deadalnix at gmail.com>> wrote:
>
> http://preshing.com/20120515/__memory-reordering-caught-in-__the-act
> <http://preshing.com/20120515/memory-reordering-caught-in-the-act>
>
> And this is why shared is important for D.
>
>
>
>
> --
> Bye,
> Gor Gyolchanyan.
It have a very high cost to do so. It would prevent many thead local
optimization and, in practice, most data are thread local. It isn't a
good idea.
We need languages and frameworks that deal with that.
More information about the Digitalmars-d
mailing list