Thread overview | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 07, 2017 Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
First beta for the 2.073.0 release. This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html Please report any bugs at https://issues.dlang.org -Martin |
January 07, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote:
> First beta for the 2.073.0 release.
>
> This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes.
>
> http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html
>
> Please report any bugs at https://issues.dlang.org
>
> -Martin
The change log should probably include the topN rewrite. PR 4815, several issue reports.
--Jon
|
January 07, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote: > First beta for the 2.073.0 release. > > This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes. > > http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html > > Please report any bugs at https://issues.dlang.org > > -Martin I don't know if any DMD developers has noticed this regression: https://issues.dlang.org/show_bug.cgi?id=17059 2.073.0-b1 is still affected. I ask because it was reported the during the DFeed outage last week. |
January 07, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On 2017-01-07 06:02, Martin Nowak wrote: > an experimental safety checks (-transition=safe/-dip1000) Is the flag to enable the new checks or revert to the previous behavior? -- /Jacob Carlborg |
January 07, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote:
> First beta for the 2.073.0 release.
>
> This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes.
>
> http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html
>
> Please report any bugs at https://issues.dlang.org
>
> -Martin
Thanks for the good work!
Are phobos unittests not passing when compiling with -dip1000 considered bugs or is it this experimental?
BTW, there is no '-transition=safe' switch.
--
biozic
|
January 07, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to biozic | On 01/07/2017 03:44 PM, biozic wrote: > On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote: >> First beta for the 2.073.0 release. >> >> This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes. >> >> http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html >> >> Please report any bugs at https://issues.dlang.org >> >> -Martin > > Thanks for the good work! > > Are phobos unittests not passing when compiling with -dip1000 considered bugs or is it this experimental? Most of phobos is currently not usable with DIP1000, partly because safety checks are hard errors (instead of deprecations) and partly because of implementation bugs. You can try it experimentally with isolated code snippets. Don't expect much documentation or help at this stage, the feature will properly released when it's finished. Any way to escape pointers in @safe code with -dip1000 enabled are considered bugs and should be reported under issues.dlang.org using the `safe` keyword and `[scope]` in the title. https://issues.dlang.org/buglist.cgi?keywords=safe&keywords_type=allwords&query_format=advanced&resolution=---&short_desc=%5Bscope%5D&short_desc_type=substring -Martin |
January 07, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Saturday, 7 January 2017 at 15:59:47 UTC, Martin Nowak wrote:
> On 01/07/2017 03:44 PM, biozic wrote:
>> Are phobos unittests not passing when compiling with -dip1000 considered bugs or is it this experimental?
>
> Most of phobos is currently not usable with DIP1000, partly because
> safety checks are hard errors (instead of deprecations) and partly
> because of implementation bugs.
> You can try it experimentally with isolated code snippets.
> Don't expect much documentation or help at this stage, the feature will
> properly released when it's finished.
>
> Any way to escape pointers in @safe code with -dip1000 enabled are considered bugs and should be reported under issues.dlang.org using the `safe` keyword and `[scope]` in the title.
>
> https://issues.dlang.org/buglist.cgi?keywords=safe&keywords_type=allwords&query_format=advanced&resolution=---&short_desc=%5Bscope%5D&short_desc_type=substring
>
> -Martin
Thanks for the precisions!
|
January 07, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to biozic Attachments:
| * -transition=safe/-dip1000 => not mentioned in http://dlang.org/changelog/2.073.0.html * std.experimental.ndslice has been deprecated. The synchronization between Phobos and Mir turned out to be a lot of work with litte gain => That's a good move. Will make development faster indeed by not being tied to dmd releases. The downside of `batteries included` is is hampers development speed, deprecation speed, etc. Another example: std.json sucks compared to http://vibed.org/api/vibe.data.json/ On Sat, Jan 7, 2017 at 8:49 AM, biozic via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Saturday, 7 January 2017 at 15:59:47 UTC, Martin Nowak wrote: > >> On 01/07/2017 03:44 PM, biozic wrote: >> >>> Are phobos unittests not passing when compiling with -dip1000 considered bugs or is it this experimental? >>> >> >> Most of phobos is currently not usable with DIP1000, partly because >> safety checks are hard errors (instead of deprecations) and partly >> because of implementation bugs. >> You can try it experimentally with isolated code snippets. >> Don't expect much documentation or help at this stage, the feature will >> properly released when it's finished. >> >> Any way to escape pointers in @safe code with -dip1000 enabled are considered bugs and should be reported under issues.dlang.org using the `safe` keyword and `[scope]` in the title. >> >> https://issues.dlang.org/buglist.cgi?keywords=safe&keywords_ type=allwords&query_format=advanced&resolution=---&short_ desc=%5Bscope%5D&short_desc_type=substring >> >> -Martin >> > > Thanks for the precisions! > |
January 11, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timothee Cour | On Saturday, 7 January 2017 at 21:39:18 UTC, Timothee Cour wrote: > * -transition=safe/-dip1000 > => not mentioned in http://dlang.org/changelog/2.073.0.html That's deliberate, as you can't even use it with writeln yet. > * std.experimental.ndslice has been deprecated. The synchronization between Phobos and Mir turned out to be a lot of work with litte gain > > => That's a good move. Will make development faster indeed by not being tied to dmd releases. The downside of `batteries included` is is hampers development speed, deprecation speed, etc. Another example: std.json sucks compared to http://vibed.org/api/vibe.data.json/ Which has a much more powerful successor http://code.dlang.org/packages/std_data_json. IMO, packages are great in std, once they're done and won't change much. |
January 14, 2017 Re: Beta 2.073.0-b1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote:
> First beta for the 2.073.0 release.
>
> This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes.
>
> http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.0.html
>
> Please report any bugs at https://issues.dlang.org
>
> -Martin
Is it possible to get an ETA on protection work on __traits?
Thanks
|
Copyright © 1999-2021 by the D Language Foundation