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

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Sep 19 14:47:46 UTC 2018


On Wed, Sep 19, 2018 at 10:58:04AM +0000, thedeemon via Digitalmars-d-announce 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.
> 
> Nice! I spent a few minutes playing with the example and trying to
> break it, make the pointer escape, but I couldn't, the compiler caught
> me every time.  This DIP1000 thing seems to be working!

Finally, dip1000 is proving its value.


T

-- 
Doubt is a self-fulfilling prophecy.


More information about the Digitalmars-d-announce mailing list