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

Atila Neves atila.neves at gmail.com
Wed Sep 19 10:47:37 UTC 2018


On Wednesday, 19 September 2018 at 07:33:55 UTC, Claude wrote:
> On Tuesday, 18 September 2018 at 17:20:26 UTC, Atila Neves 
> wrote:
>> I was envious of std::sync::Mutex from Rust and thought: can I 
>> use DIP1000 to make this work in D and be @safe? Turns out, 
>> yes.
>
> Beautiful! The only current downside, is the fact the 
> application using that library has to be compiled with -dip1000 
> if I'm not wrong?

Thanks!

You only have to compile with -dip1000 if you want guarantees 
about safety... ;)


More information about the Digitalmars-d-announce mailing list