Something needs to happen with shared, and soon.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Nov 14 09:40:20 PST 2012


On 11/14/12 7:16 AM, Jacob Carlborg wrote:
> On 2012-11-14 15:22, Andrei Alexandrescu wrote:
>
>> It's not an advantage, it's a necessity.
>
> Walter seems to indicate that there is no technical reason for "shared"
> to be part of the language.

Walter is a self-confessed dilettante in threading. To be frank I hope 
he asks more and answers less in this thread.

> I don't know how these memory barriers work,
> that's why I'm asking. Does it need to be in the language or not?

Memory ordering must be built into the language and understood by the 
compiler.


Andrei


More information about the Digitalmars-d mailing list