-preview switches
Mathias LANG
geod24 at gmail.com
Wed Apr 1 17:41:17 UTC 2020
On Wednesday, 1 April 2020 at 14:15:36 UTC, Steven Schveighoffer
wrote:
>
> Any idea on when these will become permanent or be removed? We
> are collecting quite a few of these. Which means, we are
> currently shipping 2^11 different compilers simultaneously (I
> know there's really less since some of them activate the
> others).
And your list is missing `-preview=in` which is not part of a
release yet.
When will they be enabled ? When someone does the work to
actually finish them.
I've never been a fan of the `-preview` switch, simply because it
tends to lead to feature which are incomplete.
DIP1008 didn't work for the first year or so, and has issues at
the moment with safety IIRC. rvalueref is plain broken (doesn't
work with template inference).
DIP25 will actually be on by default on the next release. This
led to a pretty long discussion which you might be interested in:
https://github.com/dlang/dmd/pull/10805
Personally I have an interest in seeing rvalueref,
nosharedaccess, and perhaps dip1008, so that's what I'm going to
be pushing for in the next few months whenever I get time.
More information about the Digitalmars-d
mailing list