www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Release D 2.082.0

reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
Glad to announce D 2.082.0.

This release comes with more efficient update functions for associative
arrays, unsafe code in debug blocks, UDAs for function parameters, an
improved dependency resolution and avoidance of online update checks for
dub, and signed Windows binaries.

http://dlang.org/download.html
http://dlang.org/changelog/2.082.0.html

-Martin
Sep 01
next sibling parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
 Glad to announce D 2.082.0.
The Windows installer gave me no warning messages this time. Thanks, everyone. Mike
Sep 01
next sibling parent reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
On 09/02/2018 03:16 AM, Mike Franklin wrote:
 On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
 Glad to announce D 2.082.0.
The Windows installer gave me no warning messages this time.  Thanks, everyone.
Seems like they knew most artifacts within the installer by now, scanning for the submitted binary was a lot faster than last time. I guess we should keep an eye on this for the next releases, could you take care of this Mike?
Sep 02
parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Sunday, 2 September 2018 at 12:08:37 UTC, Martin Nowak wrote:

 Seems like they knew most artifacts within the installer by now,
 scanning for the submitted binary was a lot faster than last 
 time.
 I guess we should keep an eye on this for the next releases, 
 could you
 take care of this Mike?
Take care of what exactly? What specifically needs to be done?
Sep 02
parent Martin Nowak <code dawg.eu> writes:
On Sunday, 2 September 2018 at 22:04:11 UTC, Mike Franklin wrote:
 I guess we should keep an eye on this for the next releases, 
 could you
 take care of this Mike?
Take care of what exactly? What specifically needs to be done?
Testing Windows installation of at least the first beta and the actual release for whether Windows Defender et.al. try to scare away people.
Sep 03
prev sibling parent reply lurker <lurker aol.com> writes:
On Sunday, 2 September 2018 at 01:16:40 UTC, Mike Franklin wrote:
 On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
 Glad to announce D 2.082.0.
The Windows installer gave me no warning messages this time. Thanks, everyone. Mike
after the beta i tried it again - just to be fair. 1.) install d, install visual d. 2.)trying to to look at options under visual d without a project crashes VS2017 - latest service pack. 3.)VS2017 - displays a problem on startup 4.)creating the dummy project - compile for x64. error something is missing. 5.) deinstall everything and wait for another year this crap does not even work out of the box - what else is not tested in D?
Sep 02
parent reply Laurent =?UTF-8?B?VHLDqWd1aWVy?= <laurent.treguier.sink gmail.com> writes:
On Sunday, 2 September 2018 at 14:42:41 UTC, lurker wrote:
 after the beta i tried it again - just to be fair.

 1.) install d, install visual d.
 2.)trying to to look at options under visual d without a 
 project crashes VS2017 - latest service pack.
 3.)VS2017 - displays a problem on startup
 4.)creating the dummy project - compile for x64. error 
 something is missing.
 5.) deinstall everything and wait for another year

 this crap does not even work out of the box - what else is not 
 tested in D?
With the Windows SDK, the Windows Universal C Runtime and the VC++ v14.15 installed with Visual Studio Installer, I can compile for x64. What does it say is missing ?
Sep 02
parent reply lurker <lurker aol.com> writes:
On Sunday, 2 September 2018 at 15:33:09 UTC, Laurent Tréguier 
wrote:
 On Sunday, 2 September 2018 at 14:42:41 UTC, lurker wrote:
 after the beta i tried it again - just to be fair.

 1.) install d, install visual d.
 2.)trying to to look at options under visual d without a 
 project crashes VS2017 - latest service pack.
 3.)VS2017 - displays a problem on startup
 4.)creating the dummy project - compile for x64. error 
 something is missing.
 5.) deinstall everything and wait for another year

 this crap does not even work out of the box - what else is not 
 tested in D?
With the Windows SDK, the Windows Universal C Runtime and the VC++ v14.15 installed with Visual Studio Installer, I can compile for x64. What does it say is missing ?
if i remember correctly (5.), it wants a different/other version of the tool chain. never the less, i'll continue using c# and not install (1.) again, since in earlier versions of D i eventually had to deinstall VS2017 and then reinstall it fresh. too much work. btw, 1. was the only plugin i had.
Sep 02
parent Martin Nowak <code dawg.eu> writes:
On Sunday, 2 September 2018 at 15:51:37 UTC, lurker wrote:
 if i remember correctly (5.), it wants a different/other 
 version of the tool chain.
 never the less, i'll continue using c# and not install (1.) 
 again, since in earlier versions of D i eventually had to 
 deinstall VS2017 and then reinstall it fresh. too much work.
 btw, 1. was the only plugin i had.
Maybe check your environment variables for leftover entries from previous installations. Without a more concrete bug report it's hard to help you though, try https://issues.dlang.org/. Also there is some initial work on an alternative toolchain based on lld and mingw import libs to avoid the heavy VS installation.
Sep 03
prev sibling next sibling parent reply Laurent =?UTF-8?B?VHLDqWd1aWVy?= <laurent.treguier.sink gmail.com> writes:
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
 signed Windows binaries.
This makes D look so much more professional than having smartscreen warn you about a potential threat. This is probably the single best feature of this release IMO.
Sep 02
parent Manu <turkeyman gmail.com> writes:
On Sun, 2 Sep 2018 at 03:05, Laurent Tréguier via
Digitalmars-d-announce <digitalmars-d-announce puremagic.com> wrote:
 On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
 signed Windows binaries.
This makes D look so much more professional than having smartscreen warn you about a potential threat. This is probably the single best feature of this release IMO.
^^ Thanks so much for getting this across the line everyone!
Sep 02
prev sibling next sibling parent Pjotr Prins <pjotr.public12 thebird.nl> writes:
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:

 http://dlang.org/changelog/2.082.0.html

 -Martin
gdb exception catching looks pretty useful to me!
Sep 02
prev sibling next sibling parent reply Shigeki Karita <shigekikarita gmail.com> writes:
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
 Glad to announce D 2.082.0.

 This release comes with more efficient update functions for 
 associative arrays, unsafe code in debug blocks, UDAs for 
 function parameters, an improved dependency resolution and 
 avoidance of online update checks for dub, and signed Windows 
 binaries.

 http://dlang.org/download.html 
 http://dlang.org/changelog/2.082.0.html

 -Martin
I found changes in std.math make some codes not working anymore https://dlang.org/changelog/2.082.0.html#math_float_double_implementations // working in 2.081.2, not 2.082.0 import std.math; import std.stdio; void main() { static d = exp(-1.0); } // error in 2.082.0 /home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2360): Error: static variable P cannot be read at compile time /home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2360): called from here: poly(xx, P) /home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2221): called from here: expImpl(x) /home/skarita/dlang/dmd-2.082.0/linux/bin64/../../src/phobos/std/math.d(2225): called from here: exp(cast(real)x) ./test.d(5): called from here: exp(-1) Failed: ["/home/skarita/dlang/dmd-2.082.0/linux/bin64/dmd", "-v", "-o-", "./test.d", "-I."] Is there any workaround to avoid this?
Sep 03
parent reply Martin Nowak <code dawg.eu> writes:
On Tuesday, 4 September 2018 at 03:56:25 UTC, Shigeki Karita 
wrote:
 Is there any workaround to avoid this?
Please file a regression under https://issues.dlang.org/. One workaround for now would be to initialize the variable at runtime, e.g. ```d static double d; shared static this() { d = exp(-1.0); } ```
Sep 04
parent Shigeki Karita <shigekikarita gmail.com> writes:
On Tuesday, 4 September 2018 at 10:51:32 UTC, Martin Nowak wrote:
 On Tuesday, 4 September 2018 at 03:56:25 UTC, Shigeki Karita 
 wrote:
 Is there any workaround to avoid this?
Please file a regression under https://issues.dlang.org/. One workaround for now would be to initialize the variable at runtime, e.g. ```d static double d; shared static this() { d = exp(-1.0); } ```
I reported it there. Thanks.
Sep 04
prev sibling parent Mike Parker <aldacron gmail.com> writes:
On Sunday, 2 September 2018 at 01:05:10 UTC, Martin Nowak wrote:
 Glad to announce D 2.082.0.

 This release comes with more efficient update functions for 
 associative arrays, unsafe code in debug blocks, UDAs for 
 function parameters, an improved dependency resolution and 
 avoidance of online update checks for dub, and signed Windows 
 binaries.
The blog announcement: https://dlang.org/blog/2018/09/04/dmd-2-082-0-released/ Reddit: https://www.reddit.com/r/programming/comments/9cw2mp/release_20820_of_dmd_the_d_reference_compiler/
Sep 04