digitalmars.D.announce - dmd 1.071 and 2.056 release
- Walter Bright (5/5) Oct 26 2011 100 bugs fixed!
- Andrej Mitrovic (1/1) Oct 26 2011 This is the first release in a while that hasn't broken any of my code. ...
- Nick Sabalausky (5/7) Oct 26 2011 It broke one thing in mine...but that's just because I was accidentally
- Andrej Mitrovic (6/13) Oct 26 2011 Actually I had one little problem, that outdated Gdi32 import lib. I
- Nick Sabalausky (28/28) Oct 26 2011 Great release :)
- Trass3r (2/6) Oct 27 2011 Yep, build-only should be the default! And running the exe afterwards an...
- Nick Sabalausky (3/3) Oct 26 2011 http://www.d-programming-language.org/phobos/std_string.html
- Jonathan M Davis (5/9) Oct 26 2011 It's Andrei that manages the site, whereas Walter does the dmd release, ...
- Andrei Alexandrescu (3/12) Oct 30 2011 Site updated.
- John Chapman (3/3) Oct 26 2011 Anyone else experience slow compiles? Seems about 2-3 times slower than ...
- Andrej Mitrovic (11/14) Oct 26 2011 So far I'm getting only slightly slower builds (on the order of +100
- Mike James (5/9) Oct 27 2011 Yeh, a simple app I've written has gone from 514k to 1098k in release. W...
- Walter Bright (3/5) Oct 27 2011 Take a look at the .map file (run dmc with -map). It'll tell you where t...
- Andrej Mitrovic (9/16) Oct 27 2011 This is the only section that seem to have a big difference in length:
- Trass3r (1/8) Oct 27 2011 Hurray, template bloat ;)
- Walter Bright (4/5) Oct 27 2011 Actually, likely not. I did make a change reduced the granularity of the...
- Vladimir Panteleev (6/9) Oct 27 2011 What are the benefits of reducing smart linkage granularity?
- Walter Bright (2/8) Oct 27 2011 Fixing a bug where static ctors/dtors needed to be referenced by the Mod...
- Andrej Mitrovic (4/5) Oct 27 2011 You bet. And I thought I was clever writing all those templates. The
- Walter Bright (2/20) Oct 27 2011 Take a look at the symbols, too.
- Mike James (5/11) Oct 28 2011 More interestingly if you open up the executable in a hex editor there a...
- Vladimir Panteleev (6/8) Oct 28 2011 Most likely related to this issue:
- Andrej Mitrovic (7/8) Oct 28 2011 Interesting..
- Jacob Carlborg (9/14) Oct 26 2011 Impressive as always. I noticed there seem to be a couple of D2 related
- Don (5/19) Oct 30 2011 They do apply. In every case, some code was modified on the D1 compiler....
- Walter Bright (3/6) Oct 31 2011 Just to chime in, whenever I fix a bug in D2 I check to see if it is app...
- Jacob Carlborg (4/26) Oct 31 2011 Ok, I see.
- Vladimir Panteleev (11/12) Oct 27 2011 I'm only saddened that my std.socket cleanup pull request[1] wasn't
- Walter Bright (4/10) Oct 27 2011 Sorry about that. There are still a lot of great outstanding pull reques...
- Steven Schveighoffer (4/19) Oct 27 2011 *ahem* inout working?
- Walter Bright (2/6) Oct 27 2011 Inout working is important, time will tell if it is dramatic.
- Andrei Alexandrescu (3/12) Oct 30 2011 Let's make sure we review and pull that in soon.
- Steve Teale (4/6) Nov 03 2011 Vladimir,
- Vladimir Panteleev (9/11) Nov 03 2011 There's a list in this post:
-
Stewart Gordon
(10/11)
Dec 04 2011
- storm (1/1) Dec 05 2011 +1
100 bugs fixed! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.071.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.056.zip
Oct 26 2011
This is the first release in a while that hasn't broken any of my code. Yay!
Oct 26 2011
"Andrej Mitrovic" <andrej.mitrovich gmail.com> wrote in message news:mailman.517.1319656575.24802.digitalmars-d-announce puremagic.com...This is the first release in a while that hasn't broken any of my code. Yay!It broke one thing in mine...but that's just because I was accidentally doing something that violated immutable and DMD didn't catch it until now. So "Yay!" from here, too :)
Oct 26 2011
On 10/26/11, Nick Sabalausky <a a.a> wrote:"Andrej Mitrovic" <andrej.mitrovich gmail.com> wrote in message news:mailman.517.1319656575.24802.digitalmars-d-announce puremagic.com...Actually I had one little problem, that outdated Gdi32 import lib. I quickly replaced it with a new one though. I hope we can start putting newer import libs into future DMD releases, there are several projects out there that depend on it (DGUI and maybe even DWT, I think they both distribute import libs).This is the first release in a while that hasn't broken any of my code. Yay!It broke one thing in mine...but that's just because I was accidentally doing something that violated immutable and DMD didn't catch it until now. So "Yay!" from here, too :)
Oct 26 2011
Great release :) Although it's not in the changelog (I didn't even think to check for it there until now), there's a bunch of RDMD issues fixed too: ------------------------------------------------ https://github.com/D-Programming-Language/tools/pull/14 (Don't pass .di files to DMD.) This fixes a problem that frequently made RDMD fail to work on projects that import a static lib and .di files. Real-world examples of the problem are here: http://www.dsource.org/forums/viewtopic.php?t=5856 http://www.linuxquestions.org/questions/programming-9/d-is-d-programming-language-just-too-much-898862/#post4452127 ------------------------------------------------ https://github.com/D-Programming-Language/tools/pull/14 (rdmd fixes) This is killer pull request from CyberShadow, improving a number of things: - Fixes usage of rdmd by multiple users on the same Posix system. - Using --build-only, by default, places the exe in the current directory rather than the usual tmp directory. The --build-only option is frequently (always, AFAIK) used like an alternate to bud/rebuild/xfbuild/etc, so this default makes much more sense. - RDMD should now work within VisualD - Don't append a second extension to -of path on Windows - A couple of things that had been fixed in an old pre-github patch, but failed to get applied correctly (thank god we're on github now!!): 1. Don't mistake .map filenames as the .d file to build. 2. Don't use std.getopt.config.stopOnFirstNonOption. As CyberShadow says: "rdmd already scans the command line to find the point where option parsing should stop. Including this getopt option breaks using rdmd with e.g. DMD's -map option."
Oct 26 2011
- Using --build-only, by default, places the exe in the current directory rather than the usual tmp directory. The --build-only option is frequently (always, AFAIK) used like an alternate to bud/rebuild/xfbuild/etcYep, build-only should be the default! And running the exe afterwards an option.
Oct 27 2011
http://www.d-programming-language.org/phobos/std_string.html Have the docs just not been updated yet, or did I do something wrong in the doc comments for my std.string changes?
Oct 26 2011
On Wednesday, October 26, 2011 14:20 Nick Sabalausky wrote:http://www.d-programming-language.org/phobos/std_string.html Have the docs just not been updated yet, or did I do something wrong in the doc comments for my std.string changes?It's Andrei that manages the site, whereas Walter does the dmd release, and it's been less than 3 hours since the release, so I expect that Andrei hasn't had the chance to update the site yet. - Jonathan M Davis
Oct 26 2011
On 10/26/11 4:25 PM, Jonathan M Davis wrote:On Wednesday, October 26, 2011 14:20 Nick Sabalausky wrote:Site updated. Andreihttp://www.d-programming-language.org/phobos/std_string.html Have the docs just not been updated yet, or did I do something wrong in the doc comments for my std.string changes?It's Andrei that manages the site, whereas Walter does the dmd release, and it's been less than 3 hours since the release, so I expect that Andrei hasn't had the chance to update the site yet. - Jonathan M Davis
Oct 30 2011
Anyone else experience slow compiles? Seems about 2-3 times slower than 2.055. Also, resulting executables are nearly twice as large on Windows. John.
Oct 26 2011
On 10/27/11, John Chapman <j ch.com> wrote:Anyone else experience slow compiles? Seems about 2-3 times slower than 2.055.So far I'm getting only slightly slower builds (on the order of +100 msecs), but it does seem to be consistently slower.Also, resulting executables are nearly twice as large on Windows.On one of my apps: 2.055: no flags: 545 kb -g: 1567 kb 2.056: no flags: 1115 kb -g: 2143 kb I thought -g was to blame but they've doubled regardless.
Oct 26 2011
"John Chapman" <j ch.com> wrote in message news:j8a00m$176m$1 digitalmars.com...Anyone else experience slow compiles? Seems about 2-3 times slower than 2.055. Also, resulting executables are nearly twice as large on Windows. John.Yeh, a simple app I've written has gone from 514k to 1098k in release. Where has all the extra 'goodness' come from :-O -=mike=-
Oct 27 2011
On 10/27/2011 7:00 AM, Mike James wrote:Yeh, a simple app I've written has gone from 514k to 1098k in release. Where has all the extra 'goodness' come from :-OTake a look at the .map file (run dmc with -map). It'll tell you where the size comes from.
Oct 27 2011
On 10/27/11, Walter Bright <newshound2 digitalmars.com> wrote:On 10/27/2011 7:00 AM, Mike James wrote:This is the only section that seem to have a big difference in length: 2.055: Length Name Class 00071CAEH _TEXT CODE 32-bit 2.056: Length Name Class 00101A1AH _TEXT CODE 32-bit Other than that, 2.056 actually creates fewer symbols than 2.055.Yeh, a simple app I've written has gone from 514k to 1098k in release. Where has all the extra 'goodness' come from :-OTake a look at the .map file (run dmc with -map). It'll tell you where the size comes from.
Oct 27 2011
This is the only section that seem to have a big difference in length: 2.055: Length Name Class 00071CAEH _TEXT CODE 32-bit 2.056: Length Name Class 00101A1AH _TEXT CODE 32-bitHurray, template bloat ;)
Oct 27 2011
On 10/27/2011 12:27 PM, Trass3r wrote:Hurray, template bloat ;)Actually, likely not. I did make a change reduced the granularity of the object files (multiobj). If that's the source of the large size increase, I need to revisit that.
Oct 27 2011
On Thu, 27 Oct 2011 22:30:16 +0300, Walter Bright <newshound2 digitalmars.com> wrote:Actually, likely not. I did make a change reduced the granularity of the object files (multiobj). If that's the source of the large size increase, I need to revisit that.What are the benefits of reducing smart linkage granularity? -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Oct 27 2011
On 10/27/2011 1:48 PM, Vladimir Panteleev wrote:On Thu, 27 Oct 2011 22:30:16 +0300, Walter Bright <newshound2 digitalmars.com> wrote:Fixing a bug where static ctors/dtors needed to be referenced by the ModuleInfo.Actually, likely not. I did make a change reduced the granularity of the object files (multiobj). If that's the source of the large size increase, I need to revisit that.What are the benefits of reducing smart linkage granularity?
Oct 27 2011
On 10/27/11, Trass3r <un known.com> wrote:Hurray, template bloat ;)You bet. And I thought I was clever writing all those templates. The linker flashed me internals just recently, that's a sure sign it's had enough templates for one day. lol.
Oct 27 2011
On 10/27/2011 11:51 AM, Andrej Mitrovic wrote:On 10/27/11, Walter Bright<newshound2 digitalmars.com> wrote:Take a look at the symbols, too.On 10/27/2011 7:00 AM, Mike James wrote:This is the only section that seem to have a big difference in length: 2.055: Length Name Class 00071CAEH _TEXT CODE 32-bit 2.056: Length Name Class 00101A1AH _TEXT CODE 32-bit Other than that, 2.056 actually creates fewer symbols than 2.055.Yeh, a simple app I've written has gone from 514k to 1098k in release. Where has all the extra 'goodness' come from :-OTake a look at the .map file (run dmc with -map). It'll tell you where the size comes from.
Oct 27 2011
"Walter Bright" <newshound2 digitalmars.com> wrote in message news:j8c7gj$2ctn$2 digitalmars.com...On 10/27/2011 7:00 AM, Mike James wrote:More interestingly if you open up the executable in a hex editor there are huge chunks of the .exe padded with zeros... -=mike=-Yeh, a simple app I've written has gone from 514k to 1098k in release. Where has all the extra 'goodness' come from :-OTake a look at the .map file (run dmc with -map). It'll tell you where the size comes from.
Oct 28 2011
On Fri, 28 Oct 2011 11:42:33 +0300, Mike James <foo bar.com> wrote:More interestingly if you open up the executable in a hex editor there are huge chunks of the .exe padded with zeros...Most likely related to this issue: http://d.puremagic.com/issues/show_bug.cgi?id=2254 -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Oct 28 2011
On 10/28/11, Vladimir Panteleev <vladimir thecybershadow.net> wrote:Most likely related to this issueInteresting.. If I compile my app via dmd myapp.d <dependencies.lib> I get a 2.149 KB exe. If instead I do "dmd -c myapp.d" and then do "dmd myapp.obj <dependencies.lib> I get a 1.117KB exe. That's kind of odd. If I use Unilink to link the app object file to the dependencies I get a 340Kb working exe. Now that's something!
Oct 28 2011
On 2011-10-26 20:34, Walter Bright wrote:100 bugs fixed! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.071.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.056.zipImpressive as always. I noticed there seem to be a couple of D2 related fixes in the D1 changelog: Bugzilla 6073: Cannot pass __traits(parent, ...) as a template parameter if it is a module Then there are a couple of fixes related to regressions for D2, don't know if they apply to D1 as well, just look for Regression(2.0xy). -- /Jacob Carlborg
Oct 26 2011
On 27.10.2011 08:48, Jacob Carlborg wrote:On 2011-10-26 20:34, Walter Bright wrote:They do apply. In every case, some code was modified on the D1 compiler. Not all of the test cases apply to D1 though (sometimes there are bugs in the compiler internals, where we don't have a D1 test case that triggers them).100 bugs fixed! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.071.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.056.zipImpressive as always. I noticed there seem to be a couple of D2 related fixes in the D1 changelog: Bugzilla 6073: Cannot pass __traits(parent, ...) as a template parameter if it is a module Then there are a couple of fixes related to regressions for D2, don't know if they apply to D1 as well, just look for Regression(2.0xy).
Oct 30 2011
On 10/30/2011 11:01 PM, Don wrote:They do apply. In every case, some code was modified on the D1 compiler. Not all of the test cases apply to D1 though (sometimes there are bugs in the compiler internals, where we don't have a D1 test case that triggers them).Just to chime in, whenever I fix a bug in D2 I check to see if it is applicable to D1, and merge the patch into D1 if it is.
Oct 31 2011
On 2011-10-31 07:01, Don wrote:On 27.10.2011 08:48, Jacob Carlborg wrote:Ok, I see. -- /Jacob CarlborgOn 2011-10-26 20:34, Walter Bright wrote:They do apply. In every case, some code was modified on the D1 compiler. Not all of the test cases apply to D1 though (sometimes there are bugs in the compiler internals, where we don't have a D1 test case that triggers them).100 bugs fixed! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.071.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.056.zipImpressive as always. I noticed there seem to be a couple of D2 related fixes in the D1 changelog: Bugzilla 6073: Cannot pass __traits(parent, ...) as a template parameter if it is a module Then there are a couple of fixes related to regressions for D2, don't know if they apply to D1 as well, just look for Regression(2.0xy).
Oct 31 2011
On Wed, 26 Oct 2011 21:34:35 +0300, Walter Bright <newshound2 digitalmars.com> wrote:100 bugs fixed!I'm only saddened that my std.socket cleanup pull request[1] wasn't merged, despite being ready for merging for over a month of inactivity. That's a few more months for my open-source network code not building with a stock DMD. Oh well, I guess I'll move the new std.socket to my network library if it comes to that. [1]: https://github.com/D-Programming-Language/phobos/pull/260 -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Oct 27 2011
On 10/27/2011 3:16 AM, Vladimir Panteleev wrote:I'm only saddened that my std.socket cleanup pull request[1] wasn't merged, despite being ready for merging for over a month of inactivity. That's a few more months for my open-source network code not building with a stock DMD. Oh well, I guess I'll move the new std.socket to my network library if it comes to that. [1]: https://github.com/D-Programming-Language/phobos/pull/260Sorry about that. There are still a lot of great outstanding pull requests. There's nothing dramatic that marked this release, it's simply that enough was pulled to justify putting out a release.
Oct 27 2011
On Thu, 27 Oct 2011 14:20:09 -0400, Walter Bright <newshound2 digitalmars.com> wrote:On 10/27/2011 3:16 AM, Vladimir Panteleev wrote:*ahem* inout working? -SteveI'm only saddened that my std.socket cleanup pull request[1] wasn't merged, despite being ready for merging for over a month of inactivity. That's a few more months for my open-source network code not building with a stock DMD. Oh well, I guess I'll move the new std.socket to my network library if it comes to that. [1]: https://github.com/D-Programming-Language/phobos/pull/260Sorry about that. There are still a lot of great outstanding pull requests. There's nothing dramatic that marked this release, it's simply that enough was pulled to justify putting out a release.
Oct 27 2011
On 10/27/2011 12:19 PM, Steven Schveighoffer wrote:Inout working is important, time will tell if it is dramatic.Sorry about that. There are still a lot of great outstanding pull requests. There's nothing dramatic that marked this release, it's simply that enough was pulled to justify putting out a release.*ahem* inout working?
Oct 27 2011
On 10/27/11 5:16 AM, Vladimir Panteleev wrote:On Wed, 26 Oct 2011 21:34:35 +0300, Walter Bright <newshound2 digitalmars.com> wrote:Let's make sure we review and pull that in soon. Andrei100 bugs fixed!I'm only saddened that my std.socket cleanup pull request[1] wasn't merged, despite being ready for merging for over a month of inactivity. That's a few more months for my open-source network code not building with a stock DMD. Oh well, I guess I'll move the new std.socket to my network library if it comes to that. [1]: https://github.com/D-Programming-Language/phobos/pull/260
Oct 30 2011
I'm only saddened that my std.socket cleanup pull request[1] wasn't merged, despite being ready for merging for over a month of inactivity.Vladimir, What's new and different in your std.sockets. Should I be using it for the native MySQL client? Steve
Nov 03 2011
On Thu, 03 Nov 2011 17:44:22 +0200, Steve Teale <steve.teale britseyeview.com> wrote:What's new and different in your std.sockets.There's a list in this post: http://www.digitalmars.com/d/archives/digitalmars/D/Clean-up_of_std.socket_144324.htmlShould I be using it for the native MySQL client?If you use name lookup in your code, you should probably switch to the new API when the next DMD comes out. -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Nov 03 2011
On 26/10/2011 19:34, Walter Bright wrote: <snip>http://www.digitalmars.com/d/2.0/changelog.html<snip> Version D 2.056 Sep 10, 2011 New/Changed Features Druntime Bugs Fixed Library Bugs Fixed DMD Bugs Fixed ??? Stewart.
Dec 04 2011