Re: Release D 2.071.0

2016-09-13 Thread Martin Nowak via Digitalmars-d-announce

On Monday, 2 May 2016 at 16:47:13 UTC, Márcio Martins wrote:
Since this release is not critical for us, despite including 
many great changes, we will also stick to DMD 2.070.2 and hope 
for a fix in a future release, if at all possible.


There is an issue by now 
https://issues.dlang.org/show_bug.cgi?id=15988, but I can't 
reproduce any serious slowdowns with vibe-d, Higgs, or dcd 
comparing 2.069.2, 2.070.2, and 2.071.2-b4.


Re: Release D 2.071.0

2016-05-03 Thread Márcio Martins via Digitalmars-d-announce

On Monday, 2 May 2016 at 17:02:50 UTC, Jack Stouffer wrote:

On Monday, 2 May 2016 at 16:47:13 UTC, Márcio Martins wrote:

with 2.070.2:
real0m9.775s
user0m9.036s
sys 0m0.700s

with 2.071.0:
real0m45.011s
user0m41.760s
sys 0m3.144s


Wow, that's pretty awful.

Have you tried using digger to find out what caused the slow 
down?


Will give it a go later :)


Re: Release D 2.071.0

2016-05-02 Thread Jack Stouffer via Digitalmars-d-announce

On Monday, 2 May 2016 at 16:47:13 UTC, Márcio Martins wrote:

with 2.070.2:
real0m9.775s
user0m9.036s
sys 0m0.700s

with 2.071.0:
real0m45.011s
user0m41.760s
sys 0m3.144s


Wow, that's pretty awful.

Have you tried using digger to find out what caused the slow down?


Re: Release D 2.071.0

2016-05-02 Thread Márcio Martins via Digitalmars-d-announce

On Sunday, 10 April 2016 at 20:18:28 UTC, Lewis wrote:

On Thursday, 7 April 2016 at 07:44:48 UTC, Nordlöw wrote:

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.


I read somewhere recently about performance regressions in 
DMD. Were these related the import and module fixes? Were they 
fixed? Do they depend on any dmd switches?


Thanks anyway!


I just updated one of my projects from 2.069.0 to 2.071.0, and 
saw the build time jump from ~1.7s to ~2.5s. Take this single 
informal data point with a huge grain of salt obviously, but I 
am also curious about the details of this. DMD's speed is one 
of D's selling points to me, and I might roll back until 
performance improves if there isn't a straightforward fix.


Agreed though, otherwise a great release. Thanks for everyone's 
hard work!



Late to the party, but congratulations and great work on another 
impressive release! Thanks to everyone involved!



Just wanted to report a very large decrease in build performance.
Compare a debug build on Ubuntu 16.04 64-bit with ld.gold.

with 2.070.2:
real0m9.775s
user0m9.036s
sys 0m0.700s

with 2.071.0:
real0m45.011s
user0m41.760s
sys 0m3.144s


Since this release is not critical for us, despite including many 
great changes, we will also stick to DMD 2.070.2 and hope for a 
fix in a future release, if at all possible.


Re: Release D 2.071.0

2016-04-13 Thread John Colvin via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


Apologies for the delay for homebrew users, all sorted now, 
2.071.0 is now dmd stable.


Re: Release D 2.071.0

2016-04-12 Thread Paolo Invernizzi via Digitalmars-d-announce
On Saturday, 9 April 2016 at 16:56:50 UTC, Vladimir Panteleev 
wrote:
since I  can run the Windows version via Wine. But if no one 
else needs this then it's fine.


Me too

/P




Re: Release D 2.071.0

2016-04-11 Thread Dicebot via Digitalmars-d-announce

On Monday, 11 April 2016 at 19:20:50 UTC, Marco Leise wrote:

Am Thu, 07 Apr 2016 10:13:35 +
schrieb Dicebot :
It is second time git tag for DMD release refers to commit 
with VERSION file content which doesn't match the tag. May 
indicate something is wrong in release procedure.


Or maybe something is wrong with source based Linux 
distributions in this time and age. I don't know. But I'm glad 
that you fire proof the source bundles first, before I move my 
lazy ass to update DMD packages for Gentoo. I hope to start 
from a good, clean 2.071.0/2.071.1 tar ball. :D


:)

I must admit I took the easy path and simply added `echo $pkgver 
> ../VERSION` to package build script instead of making upstream 
PR.


Re: Release D 2.071.0

2016-04-11 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 07 Apr 2016 10:13:35 +
schrieb Dicebot :

> On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:
> > Glad to announce D 2.071.0.
> >
> > http://dlang.org/download.html
> >
> > This release fixes many long-standing issues with imports and 
> > the module
> > system.
> > See the changelog for more details.
> >
> > http://dlang.org/changelog/2.071.0.html
> >
> > -Martin  
> 
> It is second time git tag for DMD release refers to commit with 
> VERSION file content which doesn't match the tag. May indicate 
> something is wrong in release procedure.

Or maybe something is wrong with source based Linux
distributions in this time and age. I don't know. But I'm glad
that you fire proof the source bundles first, before I move my
lazy ass to update DMD packages for Gentoo. I hope to start
from a good, clean 2.071.0/2.071.1 tar ball. :D

Nice work on the import bugs. There is so much less on the
attic now.

-- 
Marco



Re: Release D 2.071.0

2016-04-11 Thread Kagamin via Digitalmars-d-announce

On Monday, 11 April 2016 at 11:43:20 UTC, wobbles wrote:

When updating with the .dev package on my Ubuntu 15.10 system

https://forum.dlang.org/post/mailman.4114.1454138584.22025.digitalmars-d-annou...@puremagic.com


Re: Release D 2.071.0

2016-04-11 Thread wobbles via Digitalmars-d-announce

On Monday, 11 April 2016 at 11:43:20 UTC, wobbles wrote:

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


When updating with the .dev package on my Ubuntu 15.10 system -


.deb package - not .dev


Re: Release D 2.071.0

2016-04-11 Thread wobbles via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


When updating with the .dev package on my Ubuntu 15.10 system - I 
get this message:

```
The installation of a package which violates the quality 
standards isn't allowed. This could cause serious problems on 
your computer. Please contact the person or organisation who 
provided this package file and include the details beneath.


Details
Lintian check results for 
/home/colin/Downloads/dmd_2.071.0-0_amd64.deb:
Can't close(GLOB(0x291a6f0)) filehandle: '' at 
/usr/share/lintian/helpers/coll/objdump-info-helper line 192
command failed with error code 123 at 
/usr/share/lintian/collection/objdump-info line 79.

warning: collect info objdump-info about package dmd failed
warning: skipping check of binary package dmd
```


Re: Release D 2.071.0

2016-04-10 Thread Lewis via Digitalmars-d-announce

On Thursday, 7 April 2016 at 07:44:48 UTC, Nordlöw wrote:

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.


I read somewhere recently about performance regressions in DMD. 
Were these related the import and module fixes? Were they 
fixed? Do they depend on any dmd switches?


Thanks anyway!


I just updated one of my projects from 2.069.0 to 2.071.0, and 
saw the build time jump from ~1.7s to ~2.5s. Take this single 
informal data point with a huge grain of salt obviously, but I am 
also curious about the details of this. DMD's speed is one of D's 
selling points to me, and I might roll back until performance 
improves if there isn't a straightforward fix.


Agreed though, otherwise a great release. Thanks for everyone's 
hard work!


Re: Release D 2.071.0

2016-04-10 Thread Joseph Rushton Wakeling via Digitalmars-d-announce

On Thursday, 7 April 2016 at 10:13:35 UTC, Dicebot wrote:

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


It is second time git tag for DMD release refers to commit with 
VERSION file content which doesn't match the tag. May indicate 
something is wrong in release procedure.


Hah, and just like last time I notice this right after you :-)

I think part of the problem with the release procedure may be 
that the build-a-release script actually auto-overwrites the 
VERSION file content, so the problem is hidden unless one tries 
to build directly from source the manual way:

https://github.com/D-Programming-Language/dmd/pull/5382#issuecomment-177545916

Assuming that we want to continue relying on the VERSION 
information (which makes sense for e.g. users building from 
tarballs rather than git clones), might it make sense to change 
the build script to _validate_ the VERSION info, forcing the 
maintainer to correct it if there is a mismatch?


Re: Release D 2.071.0

2016-04-09 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 9 April 2016 at 16:56:50 UTC, Vladimir Panteleev 
wrote:
For my home machine I would actually benefit from having all 
platforms in one file, since I can run the Windows version via 
Wine.


Me too. I actually download more bytes now than before because I 
need two of the things.


But it isn't a huge deal either. At least the directory 
structures are the same so I can unzip one on top of the other 
and have it work.


Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce
On Wednesday, 6 April 2016 at 14:13:16 UTC, Vladimir Panteleev 
wrote:
I know the all-platform .zip files are wasteful, but any 
practical reason for removing them? Unless the hosting cost is 
not negligible, breaking existing tools/scripts may not be 
worth it.


Sorry that you missed that, it's been decided and discussed 
several times since half a year ago that we want to get rid of 
the huge useless downloads, even more so since we're releasing 
much more often. Any user of your tools will be thankful for a 
much quicker download as well.

http://forum.dlang.org/post/mp2ou8$1qrf$1...@digitalmars.com
http://forum.dlang.org/post/55d9df2a.8090...@dawg.eu
https://github.com/D-Programming-Language/installer/commit/5a2ed94953c007b1bc374f46073a60bda53635d1


Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce

On Thursday, 7 April 2016 at 02:21:30 UTC, Cy Schubert wrote:

It builds and packages nicely.

~Cy


Thanks, are you the current FreeBSD port maintainer?


Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce

On Wednesday, 6 April 2016 at 13:19:08 UTC, Cy Schubert wrote:
Is there a source URL published anywhere? 
http://ftp.digitalmars.com/dmd.2.071.0.zip doesn't appear to 
work.


~Cy


We've deprecated the combined package b/c of it's sheer size and 
uselessness.
Each platform specific package does contain the source code as 
well.


Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce

On Wednesday, 6 April 2016 at 13:05:31 UTC, sigod wrote:

module test;

struct S {
package int field;
}

void main() {
S s;
		s.field = 1; // Deprecation: test.S.field is not visible from 
module test

}


https://github.com/D-Programming-Language/dmd/pull/5642

Would've been great to fix this during the beta ;).


Re: Release D 2.071.0

2016-04-09 Thread Martin Nowak via Digitalmars-d-announce

On Wednesday, 6 April 2016 at 07:56:03 UTC, Jacob Carlborg wrote:
If I understand correctly the "this.outer" issue was resolved 
by slightly modifying the language. If that's correct, does it 
deserves an entry in the changelog besides the fixed issue?


It's just fixing the existing typing. Before you would get the 
nested functions context pointer typed as outer class, now you 
correctly get the outer class through the function context.


Re: Release D 2.071.0

2016-04-07 Thread Kagamin via Digitalmars-d-announce

On Wednesday, 6 April 2016 at 18:18:10 UTC, Jacob Carlborg wrote:
It's all in the same module, I don't see how a protection 
attribute can affect anything.


Compiler is probably confused by the absence of package to test 
the package protection against. It probably shouldn't be an error.


Re: Release D 2.071.0

2016-04-07 Thread Nordlöw via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.


I read somewhere recently about performance regressions in DMD. 
Were these related the import and module fixes? Were they fixed? 
Do they depend on any dmd switches?


Thanks anyway!


Re: Release D 2.071.0

2016-04-06 Thread Cy Schubert via Digitalmars-d-announce

On Wednesday, 6 April 2016 at 14:01:53 UTC, Rory McGuire wrote:
Here is the exact link I used. It is the source and binaries 
together. 
http://downloads.dlang.org/releases/2.x/2.071.0/dmd.2.071.0.linux.tar.xz


Thanks. That's good to know. I've updated the FreeBSD port to 
fetch one of the files (I chose to use the freebsd-64 file  but 
it can use any of the other files) and use it to build the 
port/package.


It builds and packages nicely.

~Cy



Re: Release D 2.071.0

2016-04-06 Thread Steven Schveighoffer via Digitalmars-d-announce

On 4/5/16 6:43 PM, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and the module
system.
See the changelog for more details.

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


So glad to see these fixed!

BTW, a re-link to my blog article on this in case people want a detailed 
explanation:


http://www.schveiguy.com/blog/2016/03/import-changes-in-d-2-071/

-Steve


Re: Release D 2.071.0

2016-04-06 Thread Andrej Mitrovic via Digitalmars-d-announce
We really need an "I survived Bug #314" T-shirt.

On 4/6/16, Basile B. via Digitalmars-d-announce
 wrote:
> On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:
>> Glad to announce D 2.071.0.
>>
>> http://dlang.org/download.html
>>
>> This release fixes many long-standing issues with imports and
>> the module
>
> Bye bye 314, hope not to see ya soon.
>


Re: Release D 2.071.0

2016-04-06 Thread Jacob Carlborg via Digitalmars-d-announce

On 2016-04-06 19:15, Kagamin wrote:

On Wednesday, 6 April 2016 at 13:05:31 UTC, sigod wrote:

module test;

struct S {
package int field;
}

void main() {
S s;
s.field = 1; // Deprecation: test.S.field is not visible from
module test
}


You need the module to be contained in a package. It's pretty old, AFAIK.


It's all in the same module, I don't see how a protection attribute can 
affect anything.


--
/Jacob Carlborg


Re: Release D 2.071.0

2016-04-06 Thread Meta via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:
This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.


Thanks to everyone who worked on fixing and pushing this through. 
I thought I would never see the day when this was finally fixed.


Re: Release D 2.071.0

2016-04-06 Thread Kagamin via Digitalmars-d-announce

On Wednesday, 6 April 2016 at 13:05:31 UTC, sigod wrote:

module test;

struct S {
package int field;
}

void main() {
S s;
		s.field = 1; // Deprecation: test.S.field is not visible from 
module test

}


You need the module to be contained in a package. It's pretty 
old, AFAIK.


Re: Release D 2.071.0

2016-04-06 Thread Vladimir Panteleev via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


http://downloads.dlang.org/releases/2.x/2.071.0/dmd.2.071.0.zip 
is a 404.


I know the all-platform .zip files are wasteful, but any 
practical reason for removing them? Unless the hosting cost is 
not negligible, breaking existing tools/scripts may not be worth 
it.


Re: Release D 2.071.0

2016-04-06 Thread Rory McGuire via Digitalmars-d-announce
Here is the exact link I used. It is the source and binaries together.
http://downloads.dlang.org/releases/2.x/2.071.0/dmd.2.071.0.linux.tar.xz

On Wed, Apr 6, 2016 at 3:49 PM, Cy Schubert via Digitalmars-d-announce
 wrote:
> On Wednesday, 6 April 2016 at 13:27:36 UTC, Rory McGuire wrote:
>>
>> .tar.xz works and its much smaller
>
>
> It also doesn't work.
>
> Looks like the source hasn't been posted, only binary images.
>
> BTW, the github site doesn't appear to be up to date (according to the
> VERSION file).
>
> ~cy
> 


Re: Release D 2.071.0

2016-04-06 Thread Cy Schubert via Digitalmars-d-announce

On Wednesday, 6 April 2016 at 13:27:36 UTC, Rory McGuire wrote:

.tar.xz works and its much smaller


It also doesn't work.

Looks like the source hasn't been posted, only binary images.

BTW, the github site doesn't appear to be up to date (according 
to the VERSION file).


~cy



Re: Release D 2.071.0

2016-04-06 Thread Rory McGuire via Digitalmars-d-announce
.tar.xz works and its much smaller

On Wed, Apr 6, 2016 at 3:19 PM, Cy Schubert via Digitalmars-d-announce
 wrote:
> On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:
>>
>> Glad to announce D 2.071.0.
>>
>> http://dlang.org/download.html
>>
>> This release fixes many long-standing issues with imports and the module
>> system.
>> See the changelog for more details.
>>
>> http://dlang.org/changelog/2.071.0.html
>>
>> -Martin
>
>
> Is there a source URL published anywhere?
> http://ftp.digitalmars.com/dmd.2.071.0.zip doesn't appear to work.
>
> ~Cy
>


Re: Release D 2.071.0

2016-04-06 Thread Cy Schubert via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


Is there a source URL published anywhere? 
http://ftp.digitalmars.com/dmd.2.071.0.zip doesn't appear to work.


~Cy



Re: Release D 2.071.0

2016-04-06 Thread sigod via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


module test;

struct S {
package int field;
}

void main() {
S s;
		s.field = 1; // Deprecation: test.S.field is not visible from 
module test

}

Is this correct behavior?


Re: Release D 2.071.0

2016-04-06 Thread wobbles via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


There's lots of good stuff in this release - Thanks!


Re: Release D 2.071.0

2016-04-06 Thread Jacob Carlborg via Digitalmars-d-announce

On 2016-04-06 00:43, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and the module
system.
See the changelog for more details.


If I understand correctly the "this.outer" issue was resolved by 
slightly modifying the language. If that's correct, does it deserves an 
entry in the changelog besides the fixed issue?


--
/Jacob Carlborg


Re: Release D 2.071.0

2016-04-06 Thread Puming via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


Thanks! upgraded to the new version at work.


Re: Release D 2.071.0

2016-04-06 Thread 9il via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


Thank you!


Re: Release D 2.071.0

2016-04-05 Thread jmh530 via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.



Good work.



Re: Release D 2.071.0

2016-04-05 Thread Basile B. via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module


Bye bye 314, hope not to see ya soon.


Re: Release D 2.071.0

2016-04-05 Thread Jack Stouffer via Digitalmars-d-announce

On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote:

Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and 
the module

system.
See the changelog for more details.

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

-Martin


Reddit:
https://www.reddit.com/r/programming/comments/4dj84l/d_2071_has_been_released_long_standing_import/


Release D 2.071.0

2016-04-05 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce D 2.071.0.

http://dlang.org/download.html

This release fixes many long-standing issues with imports and the module
system.
See the changelog for more details.

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

-Martin