Re: Beta 2.073.0-b1
On Sunday, 15 January 2017 at 06:07:23 UTC, Walter Bright wrote: Phobos is next! I can't wait :)
Re: Beta 2.073.0-b1
On 01/14/2017 09:10 AM, Basile B. wrote: > Forget this, I've realized a bit late that it's already reported: > https://issues.dlang.org/show_bug.cgi?id=17072 The cause is that we build druntime on Windows with -dip25. https://issues.dlang.org/show_bug.cgi?id=17072#c1
Re: Beta 2.073.0-b1
Sorry, this is OT in the beta thread. On 01/15/2017 03:31 PM, Jacob Carlborg wrote: > What about lowering to "exp.tupleof[index]", which already bypass > protection? We also have lots of other stuff to do, and no there is no 1-to-1 mapping between exp.name and exp.tupleof[index].
Re: Beta 2.073.0-b1
On 1/7/2017 6:44 AM, biozic wrote: Are phobos unittests not passing when compiling with -dip1000 considered bugs or is it this experimental? druntime is now being compiled with -dip1000. https://github.com/dlang/druntime/pull/1733 Phobos is next!
Re: Beta 2.073.0-b1
On 01/14/2017 03:14 AM, bitwise wrote: > Is it possible to get an ETA on protection work on __traits? As any responsible programmer, I won't give out dates ;). But as was mentioned this is mostly just removing existing access checks, the visibility checks already treat __traits specially. This can be done once the visibility changes are fully deprecated and become errors. So far adoption was fairly slow though. Changing things specifically for __traits(getMember, exp, "field") which is currently lowered to exp.field would be too much effort. -Martin
Re: Beta 2.073.0-b1
> > * -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. https://issues.dlang.org/show_bug.cgi?id=17090 `dmd -transition=?` needs quoting => make it `-transition=help` On Sat, Jan 14, 2017 at 3:46 AM, Walter Bright via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On 1/7/2017 3:54 AM, Jacob Carlborg wrote: > >> 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? >> > > enable >
Re: Beta 2.073.0-b1
On 1/7/2017 3:54 AM, Jacob Carlborg wrote: 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? enable
Re: Beta 2.073.0-b1
On Saturday, 14 January 2017 at 07:51:13 UTC, Basile B. wrote: On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote: First beta for the 2.073.0 release. _D4core4time12TickDuration25__T10opOpAssignVAyaa1_2bZ10opOpAssignMFNaNbNcNiNfS4core4time12TickDurationZS4core4time12TickDuration » collect2: error: ld returned 1 exit status Error: linker exited with status 1 makefile:124: recipe for target 'dmdserver' failed make: *** [dmdserver] Error 1 I don't know what to think. With 2.072.2 no problem. This doesn't look like a standard regression since it happens during linking. Please someone test and confirm. Forget this, I've realized a bit late that it's already reported: https://issues.dlang.org/show_bug.cgi?id=17072
Re: Beta 2.073.0-b1
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 DCD master doesn't build with this version. Try to build using make (and not DUB). You should get, at the end: [...] bin/dcd-server.o: dans la fonction « _Dmain »: msgpack-d/src/msgpack/value.d:(.text._Dmain+0xa38): référence indéfinie vers « _D4core4time12TickDuration25__T10opOpAssignVAyaa1_2bZ10opOpAssignMFNaNbNcNiNfS4core4time12TickDurationZS4core4time12TickDuration » collect2: error: ld returned 1 exit status Error: linker exited with status 1 makefile:124: recipe for target 'dmdserver' failed make: *** [dmdserver] Error 1 I don't know what to think. With 2.072.2 no problem. This doesn't look like a standard regression since it happens during linking. Please someone test and confirm.
Re: Beta 2.073.0-b1
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
Re: Beta 2.073.0-b1
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.
Re: Beta 2.073.0-b1
* -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_ >> type=allwords_format=advanced=---_ >> desc=%5Bscope%5D_desc_type=substring >> >> -Martin >> > > Thanks for the precisions! >
Re: Beta 2.073.0-b1
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_type=allwords_format=advanced=---_desc=%5Bscope%5D_desc_type=substring -Martin Thanks for the precisions!
Re: Beta 2.073.0-b1
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_type=allwords_format=advanced=---_desc=%5Bscope%5D_desc_type=substring -Martin
Re: Beta 2.073.0-b1
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
Re: Beta 2.073.0-b1
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
Re: Beta 2.073.0-b1
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.
Re: Beta 2.073.0-b1
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