February 03 Temporally safe by default | ||||
---|---|---|---|---|
| ||||
https://forum.dlang.org/post/pobraicmevkkegghwigb@forum.dlang.org On Saturday, 6 April 2024 at 10:02:51 UTC, Sebastiaan Koppe wrote: > On Saturday, 6 April 2024 at 06:12:21 UTC, Richard (Rikki) Andrew Cattermole wrote: >> On 06/04/2024 10:32 AM, Sebastiaan Koppe wrote: >>> So, unique? >> >> At the most basic level yes. >> >> I'm simplifying it to not lock me into any specific behavior of references to the sub graph. >> >> https://joeduffyblog.com/2016/11/30/15-years-of-concurrency/ > > Unique would be a great addition to have. > > We still need shared, though. For when you want to have multiple threads refer to the same object. Yes, which is why e.g. Pony has both concepts. |
Copyright © 1999-2021 by the D Language Foundation