https://issues.dlang.org/show_bug.cgi?id=15256

Jack Stouffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|safe                        |
            Summary|Data races with arrays      |Data races with arrays
                   |allowed in @safe code       |allowed with shared

--- Comment #3 from Jack Stouffer <[email protected]> ---
(In reply to anonymous4 from comment #2)
> @safe exists to makes guarantees :)
> And memory safety and data races are not shared's issues.

Data races are absolutely shared's problem. The issue is shared has never been
fully implemented. See https://issues.dlang.org/show_bug.cgi?id=14932

The only place you can see what shared is supposed to be is in Andrei's book
"The D Programming Language".

@safe exists to ensure memory safety; data races do not fall under that
umbrella.

--

Reply via email to