www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Phobos now compiling with -dip1000

reply Walter Bright <newshound2 digitalmars.com> writes:
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.
Mar 22
next sibling parent reply "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
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.
At the risk of embarrassing myself: Am I the only one who finds they need to google a DIP number every single time in order to have any idea what it refers to? (And then massage the query to get to the right place.) On the off chance I'm not alone: https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1000.md 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!
Mar 22
parent reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
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
Mar 22
parent Meta <jared771 gmail.com> writes:
On Saturday, 23 March 2019 at 05:04:58 UTC, H. S. Teoh wrote:
 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
As per the DIP and from my experience, yes.
Mar 23
prev sibling next sibling parent Sebastiaan Koppe <mail skoppe.eu> writes:
On Saturday, 23 March 2019 at 03:06:37 UTC, 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.
This is really nice. I congratulate your efforts. Safety for the win!
Mar 23
prev sibling next sibling parent reply Jesse Phillips <Jesse.K.Phillips+D gmail.com> writes:
On Saturday, 23 March 2019 at 03:06:37 UTC, 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.
Status: Superseded https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1000.md Maybe this needs updated?
Mar 23
parent Mike Parker <aldacron gmail.com> writes:
On Saturday, 23 March 2019 at 13:51:37 UTC, Jesse Phillips wrote:

 Status:	Superseded

 https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1000.md

 Maybe this needs updated?
It was marked superseded because the implementation differs significantly enough from the proposal that it would require a near complete rewrite.
Mar 23
prev sibling parent M.M. <matus email.cz> writes:
On Saturday, 23 March 2019 at 03:06:37 UTC, 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.
Congratulations to everyone involved. Have a good discussion at DCONF, and I am already eager to hear what the next main focus in the near future will be.
Mar 23