fearless v0.0.1 - shared made easy (and @safe)

Steven Schveighoffer schveiguy at gmail.com
Wed Sep 19 13:38:26 UTC 2018


On 9/19/18 6:44 AM, Atila Neves wrote:
> On Tuesday, 18 September 2018 at 17:34:10 UTC, 12345swordy wrote:
>> On Tuesday, 18 September 2018 at 17:20:26 UTC, Atila Neves wrote:
>>> The `shared` keyword currently means one of two things:
>>>
>>> 1. You can use core.atomic with it
>>> 2. It's some struct and you BYOM (Bring Your Own Mutex)
>>>
>>> [...]
>>
>> Why is this is an external 3rd party library isn't of the standard 
>> library?
> 
> Because it's far easier to release something with dub. If it gets 
> traction then it might be a candidate for inclusion in Phobos.

I'll also add that if it depends on dip1000, Phobos isn't ready for that 
anyway.

But if Phobos does end up getting to that point, this 100% should be in 
the standard library. It's a no-brainer.

-Steve


More information about the Digitalmars-d-announce mailing list