Phobos now compiling with -dip1000

H. S. Teoh hsteoh at quickfur.ath.cx
Sat Mar 23 05:04:58 UTC 2019


On Sat, Mar 23, 2019 at 12:01:49AM -0400, Nick Sabalausky (Abscissa) via Digitalmars-d-announce wrote:
> On 3/22/19 11:06 PM, Walter Bright wrote:
> > Many thanks to Sebastian Wilzbach, Nicholas Wilson, Mike Franklin,
> > and others!
> > 
> > It's been a long and often frustrating endeavor, but we made it and
> > I'm very pleased with the results.
[...]
> Ie DIP1000: "Scoped Pointers": "...provides a mechanism to guarantee
> that a reference cannot escape lexical scope" in large part to aid
> non-GC memory management.
> 
> With that aside, this does indeed sound like a great milestone (not
> that I doubted!). Kudos and congrats all around!

Does that mean -dip1000 will become the default compiler behaviour in
the near future?

Also, does it only apply to @safe code, so that I have to start
annotating stuff with @safe in order to benefit from it?


T

-- 
Meat: euphemism for dead animal. -- Flora


More information about the Digitalmars-d-announce mailing list