| Thread overview | ||||||
|---|---|---|---|---|---|---|
|
May 16, 2012 Memory reordering explained by example | ||||
|---|---|---|---|---|
| ||||
http://preshing.com/20120515/memory-reordering-caught-in-the-act And this is why shared is important for D. | ||||
May 16, 2012 Re: Memory reordering explained by example | ||||
|---|---|---|---|---|
| ||||
Posted in reply to deadalnix Attachments:
| 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@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. | |||
May 16, 2012 Re: Memory reordering explained by example | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Gor Gyolchanyan | 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@gmail.com
> <mailto:deadalnix@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.
| |||
May 18, 2012 Re: Memory reordering explained by example | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Gor Gyolchanyan | On 5/16/2012 5:59 AM, Gor Gyolchanyan wrote:
> 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.
>
We have them, they are called GPUs
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply