Part of the problem with shared is that it is completely inverse of what it should be.

It fundamentally does not annotate memory with anything extra that is useful.

At the CPU level there are no guarantees that memory is mapped only to one thread, nor at the language level.

Therefore all memory is shared between threads.

As long as people have this inverted mindset in place and instead of wanting to prove its thread owned shared is going to be a problem for us.

Remove shared, add atomic storage class. Figure out thread owned/shared memory some other day.
  • DLF September... Mike Parker via Digitalmars-d-announce
    • Re: DLF ... max haughton via Digitalmars-d-announce
    • Re: DLF ... Paul Backus via Digitalmars-d-announce
      • Re: ... RazvanN via Digitalmars-d-announce
        • ... Paul Backus via Digitalmars-d-announce
      • Re: ... Tim via Digitalmars-d-announce
        • ... Paul Backus via Digitalmars-d-announce
          • ... RazvanN via Digitalmars-d-announce
    • Re: DLF ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
      • Re: ... FeepingCreature via Digitalmars-d-announce
        • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce
    • Re: DLF ... zjh via Digitalmars-d-announce
      • Re: ... Imperatorn via Digitalmars-d-announce
        • ... zjh via Digitalmars-d-announce
      • Re: ... Mike Parker via Digitalmars-d-announce
        • ... matheus via Digitalmars-d-announce
          • ... matheus via Digitalmars-d-announce
            • ... matheus via Digitalmars-d-announce
              • ... zjh via Digitalmars-d-announce

Reply via email to