Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Seb via Digitalmars-d-announce
On Thursday, 16 May 2019 at 05:14:39 UTC, Nicholas Wilson wrote: [...] Yes that sounds like the culprit. Btw as mentioned on DConf, the dip1000 switch contains a few other breaking changes which will make it even harder to adopt too.

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Nicholas Wilson via Digitalmars-d-announce
On Thursday, 16 May 2019 at 01:05:53 UTC, H. S. Teoh wrote: Gah, so apparently .hashOf is a gigantic overload set of *21* different overloads, so this is not really "truly" reduced. =-O Anybody up for figuring out which overload(s) is/are getting called?

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread evilrat via Digitalmars-d-announce
On Thursday, 16 May 2019 at 01:05:53 UTC, H. S. Teoh wrote: ... I hate SFINAE. But.. But D doesn't have it!11 NOOO!!1!

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, May 15, 2019 at 05:53:17PM -0700, H. S. Teoh via Digitalmars-d-announce wrote: > On Wed, May 15, 2019 at 11:34:44AM -0700, Walter Bright via > Digitalmars-d-announce wrote: > > On 5/15/2019 11:09 AM, H. S. Teoh wrote: > > > *Why* putting 'private' on a field member makes toHash unsafe,

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, May 15, 2019 at 11:34:44AM -0700, Walter Bright via Digitalmars-d-announce wrote: > On 5/15/2019 11:09 AM, H. S. Teoh wrote: > > *Why* putting 'private' on a field member makes toHash unsafe, is > > beyond my ability to comprehend. > > That's because the reduced version isn't a reduced

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Walter Bright via Digitalmars-d-announce
On 5/15/2019 11:09 AM, H. S. Teoh wrote: *Why* putting 'private' on a field member makes toHash unsafe, is beyond my ability to comprehend. That's because the reduced version isn't a reduced version. It imports a vast amount of other code.

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, May 15, 2019 at 11:09:01AM -0700, H. S. Teoh via Digitalmars-d-announce wrote: > On Wed, May 15, 2019 at 12:39:05AM -0700, Walter Bright via > Digitalmars-d-announce wrote: > > https://github.com/dlang/phobos/pull/6931 > > > > This is a major milestone in improving the memory safety of

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, May 15, 2019 at 12:39:05AM -0700, Walter Bright via Digitalmars-d-announce wrote: > https://github.com/dlang/phobos/pull/6931 > > This is a major milestone in improving the memory safety of D > programming. Thanks to everyone who helped with this! > > Time to start compiling your

Re: Static Webpages of Forum Threads

2019-05-15 Thread Vladimir Panteleev via Digitalmars-d-announce
On Monday, 13 May 2019 at 07:40:37 UTC, Johannes Loher wrote: I still think that we should make them easily available from either the website or the forums. On the forum front page, in the right column, you will find an "Archive" link. I believe Mike already mentioned that during the AGM.

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 15 May 2019 at 07:56:48 UTC, Walter Bright wrote: Maybe the clock is not synchronized somewhere. It's off by one hour.

Re: bool (was DConf 2019 AGM Livestream)

2019-05-15 Thread Jonathan M Davis via Digitalmars-d-announce
On Tuesday, May 14, 2019 7:15:43 PM MDT Andrei Alexandrescu via Digitalmars- d-announce wrote: > On 5/14/19 2:00 AM, Mike Franklin wrote: > > On Wednesday, 15 May 2019 at 00:23:44 UTC, Andrei Alexandrescu wrote: > >> There are many clowny things in D, of which bool is at best somewhere > >> beyond

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread M.M. via Digitalmars-d-announce
On Wednesday, 15 May 2019 at 07:39:05 UTC, Walter Bright wrote: https://github.com/dlang/phobos/pull/6931 This is a major milestone in improving the memory safety of D programming. Thanks to everyone who helped with this! Time to start compiling your projects with DIP1000, too!

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Walter Bright via Digitalmars-d-announce
On 5/15/2019 12:21 AM, Dukc wrote: Could be worth a try even without docs, but in the long run we definitely need some explaining. True, but I've tried fairly hard with the error messages. Please post your experiences with them. Also, there shouldn't be any caveats with using it. If it

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Dukc via Digitalmars-d-announce
On Wednesday, 15 May 2019 at 08:26:23 UTC, Walter Bright wrote: This is a good start: http://dconf.org/2017/talks/bright.html Ah, at least something. Thanks.

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Walter Bright via Digitalmars-d-announce
On 5/14/2019 11:49 PM, Dukc wrote: About -DIP1000, I sure want to use it. But is there currently any practical way to learn it's usage without researching compiler source code? This is a good start: http://dconf.org/2017/talks/bright.html

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Dukc via Digitalmars-d-announce
On Wednesday, 15 May 2019 at 07:56:48 UTC, Walter Bright wrote: About -DIP1000, I sure want to use it. But is there currently any practical way to learn it's usage without researching compiler source code? Simply add the switch -preview=dip1000 to your builds, and follow where it leads.

Re: Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Dukc via Digitalmars-d-announce
On Wednesday, 15 May 2019 at 07:39:05 UTC, Walter Bright wrote: https://github.com/dlang/phobos/pull/6931 This is a major milestone in improving the memory safety of D programming. Thanks to everyone who helped with this! Time to start compiling your projects with DIP1000, too! For me, the

Phobos is now compiled with -preview=dip1000

2019-05-15 Thread Walter Bright via Digitalmars-d-announce
https://github.com/dlang/phobos/pull/6931 This is a major milestone in improving the memory safety of D programming. Thanks to everyone who helped with this! Time to start compiling your projects with DIP1000, too!