digitalmars.D.announce - Release D 2.069.0
- Martin Nowak (9/9) Nov 03 2015 Glad to announce D 2.069.0.
- Joakim (2/11) Nov 03 2015 Whoo, ddmd is out! Congrats to Daniel and everyone else involved.
- Jack Stouffer (2/11) Nov 03 2015 https://www.reddit.com/r/programming/comments/3rg17h/d_2069_has_been_rel...
- BBasile (2/11) Nov 03 2015 Thx.
- deadalnix (2/11) Nov 03 2015 Yeahhhhhh !
- Walter Bright (3/12) Nov 03 2015 Thank you, Martin, for the hard work you did to prepare and shepherd DMD...
- Walter Bright (3/4) Nov 03 2015 Thanks to everyone involved with this - and special mention for Daniel M...
- Jacob Carlborg (7/8) Nov 03 2015 A bit of self promotion: this is the first release with basic support
- Walter Bright (3/8) Nov 04 2015 There's much discussion on that feature on reddit.
- Jacob Carlborg (4/6) Nov 04 2015 Cool :)
- Mike James (8/17) Nov 04 2015 Hi.
- Suliman (1/7) Nov 04 2015 Same problem.
- Martin Nowak (5/9) Nov 04 2015 It's likely related to this fix which now let's the installer wait on
- Martin Nowak (3/4) Nov 04 2015 Let continue here
- Dmitry (3/7) Nov 04 2015 I don't have this problem - installed without any problems.
- deadalnix (3/12) Nov 04 2015 Bonus question: how soon can we expect travis to pick up the new
- Martin Nowak (3/5) Nov 04 2015 I updated http://ftp.digitalmars.com/LATEST now and added that step to
- Andrei Alexandrescu (5/13) Nov 04 2015 Fantastic, thanks all! More media:
- Walter Bright (3/18) Nov 04 2015 It's also on hacker news.
- HaraldZealot (2/5) Nov 04 2015 Congratulations!!!
- wobbles (6/15) Nov 04 2015 Great stuff! Thanks.
- Andrea Fontana (5/8) Nov 04 2015 Same question I did some time ago:
- =?UTF-8?B?TcOhcmNpbw==?= Martins (8/17) Nov 04 2015 Seems like memory usage went up by a significant amount, as I can
- Vladimir Panteleev (3/4) Nov 04 2015 I don't think we can even build one any more. Rainer/Martin?
- Rainer Schuetze (5/8) Nov 04 2015 I have created a combination of a VC++ project and a Visual D project to...
- Dmitry Olshansky (6/26) Nov 04 2015 If host machine is x64 bit windows try setting large address aware bit
- Martin Nowak (4/7) Nov 04 2015 We're already doing that since quite a while.
- =?UTF-8?B?TcOhcmNpbw==?= Martins (3/10) Nov 23 2015 Martin, it seems this is not working.
- Sebastiaan Koppe (3/6) Nov 04 2015 What can we do when it eats up all 4 gigs? (Windows)
- Jonathan M Davis via Digitalmars-d-announce (14/20) Nov 07 2015 With any program, if you're hitting the limit of the 32-bit address spac...
- Dmitry Olshansky (15/27) Nov 07 2015 Getting 64-bit packaged should be simplest thing possible. Ask around on
- Jonathan M Davis via Digitalmars-d-announce (8/16) Nov 08 2015 Yes, but it's forced to do that with the unit test build, because it tak...
- Daniel Murphy (11/13) Nov 08 2015 Actually I think it's fixed now, just disabled.
- Jack Stouffer (3/14) Nov 08 2015 Is there any reason why this isn't currently used in the front
- Daniel Murphy (3/4) Nov 08 2015 Lack of testing, focus on matching c-dmd performance, it used to be
- Sebastiaan Koppe (10/26) Nov 08 2015 With a codebase like phobos, compiling in several steps isn't a
- Dicebot (7/11) Nov 08 2015 Note that you can still used pegged in a stand-alone style with
- Sebastiaan Koppe (6/17) Nov 08 2015 You mean instead of mixin(grammer(`...`)) I write the output of
- Bastiaan Veelo (14/16) Nov 09 2015 Yes, use asModule() for that [1]. Not only does it enable using
- Sebastiaan Koppe (4/12) Nov 09 2015 I knew about composition. I just wanted to keep the same names as
- Jean-Yves Vion-Dury (37/59) Dec 07 2015 FYI, I just installed the 2.069 version, and now I'm unable to
- =?UTF-8?B?TcOhcmNpbw==?= Martins (3/13) Dec 07 2015 Windows?
- Jean-Yves Vion-Dury (3/19) Dec 08 2015 Yes indeed, Windows... is it a problem (the previous version was
- ZombineDev (9/30) Dec 08 2015 I guess the issue is that the Windows DMD binary is 32-bit and
- =?UTF-8?B?TcOhcmNpbw==?= Martins (12/33) Dec 08 2015 You will need to add the add the LARGEADDRESSAWARE flag to your
- deadalnix (8/42) Dec 08 2015 That's fucking ridiculous.
- Chris Wright (12/22) Dec 08 2015 At the time of the C++ to D cutover, DMD did some GC-unsafe things. In
- Dicebot (2/11) Nov 04 2015 Arch Linux packages uploaded.
- Daniel =?UTF-8?B?S296w6Fr?= via Digitalmars-d-announce (5/21) Nov 04 2015 V Wed, 04 Nov 2015 18:44:40 +0000
- Joseph Rushton Wakeling (3/7) Nov 04 2015 Thanks and congratulations to all involved! Just built and
- ric maicle (3/12) Nov 04 2015 Great! This is fantastic!
- Andrei Alexandrescu (6/15) Nov 08 2015 This schedule seems to work well. Daily downloads on the rise - 28-days
- rsw0x (10/32) Nov 08 2015 This made me a bit interested on Linux package downloads, but the
- Andrei Alexandrescu (2/5) Nov 08 2015 Link? -- Andrei
- rsw0x (10/17) Nov 08 2015 debian:
- Thomas Brix Larsen (9/27) Nov 09 2015 Opt-in stats from Arch:
- Dicebot (4/12) Nov 09 2015 This matches my personal understanding of current "market" share
- FreeSlave (8/17) Nov 09 2015 I tried to install rpm-package on Fedora 20 with rpm -i, but it
- Dragos Carp (4/11) Nov 09 2015 Yes, it was always like that.
- Dicebot (3/17) Nov 09 2015 More common practice is to declare such dependencies as optional
- Martin Nowak (6/7) Nov 09 2015 I made a ticket https://issues.dlang.org/show_bug.cgi?id=15308.
- Dicebot (3/12) Nov 09 2015 Sorry, I don't know a single thing about RPM world thus can't
- uiop (5/14) Nov 10 2015 I'd like to put dlang people attention this:
Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -Martin
Nov 03 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinWhoo, ddmd is out! Congrats to Daniel and everyone else involved.
Nov 03 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -Martinhttps://www.reddit.com/r/programming/comments/3rg17h/d_2069_has_been_released_basic_support_for/
Nov 03 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinThx.
Nov 03 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinYeahhhhhh !
Nov 03 2015
On 11/3/2015 5:49 PM, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinThank you, Martin, for the hard work you did to prepare and shepherd DMD through the release process!
Nov 03 2015
On 11/3/2015 5:49 PM, Martin Nowak wrote:Glad to announce D 2.069.0.Thanks to everyone involved with this - and special mention for Daniel Murphy who did the remarkable job of translating the C++ code to D .
Nov 03 2015
On 2015-11-04 02:49, Martin Nowak wrote:Glad to announce D 2.069.0.A bit of self promotion: this is the first release with basic support for Objective-C [1]. Many thanks to Michel Fortin that did the original implementation. [1] http://dlang.org/changelog/2.069.0.html#objective-c-support -- /Jacob Carlborg
Nov 03 2015
On 11/3/2015 11:12 PM, Jacob Carlborg wrote:On 2015-11-04 02:49, Martin Nowak wrote:There's much discussion on that feature on reddit. https://www.reddit.com/r/programming/comments/3rg17h/d_2069_has_been_released_basic_support_for/Glad to announce D 2.069.0.A bit of self promotion: this is the first release with basic support for Objective-C [1]. Many thanks to Michel Fortin that did the original implementation. [1] http://dlang.org/changelog/2.069.0.html#objective-c-support
Nov 04 2015
On 2015-11-04 11:07, Walter Bright wrote:There's much discussion on that feature on reddit. https://www.reddit.com/r/programming/comments/3rg17h/d_2069_has_been_released_basic_support_for/Cool :) -- /Jacob Carlborg
Nov 04 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinHi. There seems to be an install problem with the .exe version for Windows. The installer removes the old DMD then doesn't install the 2.069.0 version. In the task manager it's still running at 50% CPU time. It fails on Windows Vista and Windows 7. Regards, -<mike>-
Nov 04 2015
There seems to be an install problem with the .exe version for Windows. The installer removes the old DMD then doesn't install the 2.069.0 version. In the task manager it's still running at 50% CPU time. It fails on Windows Vista and Windows 7. Regards, -<mike>-Same problem.
Nov 04 2015
On 11/04/2015 10:01 AM, Suliman wrote:It's likely related to this fix which now let's the installer wait on the uninstaller to finish. https://github.com/D-Programming-Language/installer/commit/526f35495cdc615b26b65d73fa7b4aa0477b1d12 Did anything go wrong with the uninstall?Regards, -<mike>-Same problem.
Nov 04 2015
On 11/04/2015 11:58 AM, Martin Nowak wrote:Did anything go wrong with the uninstall?Let continue here https://issues.dlang.org/show_bug.cgi?id=15284
Nov 04 2015
On Wednesday, 4 November 2015 at 08:29:22 UTC, Mike James wrote:There seems to be an install problem with the .exe version for Windows. The installer removes the old DMD then doesn't install the 2.069.0 version. In the task manager it's still running at 50% CPU time. It fails on Windows Vista and Windows 7.I don't have this problem - installed without any problems. (Windows 7 x64)
Nov 04 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinBonus question: how soon can we expect travis to pick up the new version ?
Nov 04 2015
On 11/04/2015 10:01 AM, deadalnix wrote:Bonus question: how soon can we expect travis to pick up the new version ?I updated http://ftp.digitalmars.com/LATEST now and added that step to http://wiki.dlang.org/DMD_Release_Building.
Nov 04 2015
On 11/4/15 2:49 AM, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.htmlFantastic, thanks all! More media: https://www.facebook.com/dlang.org/posts/1164146430265703 https://twitter.com/D_Programming/status/661839363677036544 Andrei
Nov 04 2015
On 11/4/2015 1:38 AM, Andrei Alexandrescu wrote:On 11/4/15 2:49 AM, Martin Nowak wrote:It's also on hacker news. https://news.ycombinator.com/newestGlad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.htmlFantastic, thanks all! More media: https://www.facebook.com/dlang.org/posts/1164146430265703 https://twitter.com/D_Programming/status/661839363677036544
Nov 04 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. ... -MartinCongratulations!!!
Nov 04 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinGreat stuff! Thanks. In my (very) limited trial run - I don't notice much of a performance difference. Is there any numbers to compare 2069 with 2068 (and maybe even older)?
Nov 04 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/Same question I did some time ago: is those binaries compiled with 2.068 or 2.069 itself? The second choice should be the right one. Andrea
Nov 04 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinSeems like memory usage went up by a significant amount, as I can no longer compile our project on my Windows machine. DMD 2.068.2 uses up to 1100MB of memory during our build and succeeds DMD 2.069 used up to 1600MB of memory before crashing with "Error: out of memory" Are there any plans to release a dmd64.exe?
Nov 04 2015
On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:Are there any plans to release a dmd64.exe?I don't think we can even build one any more. Rainer/Martin?
Nov 04 2015
On 04.11.2015 17:19, Vladimir Panteleev wrote:On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:I have created a combination of a VC++ project and a Visual D project to build these. IIRC https://github.com/D-Programming-Language/dmd/pull/5039 is the only blocker, but I haven't tried recently.Are there any plans to release a dmd64.exe?I don't think we can even build one any more. Rainer/Martin?
Nov 04 2015
On 04-Nov-2015 18:25, Márcio Martins wrote:On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:If host machine is x64 bit windows try setting large address aware bit on the executable (there are tools to do that IRC), would allow it to eat up to ~4 gigs. -- Dmitry OlshanskyGlad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinSeems like memory usage went up by a significant amount, as I can no longer compile our project on my Windows machine. DMD 2.068.2 uses up to 1100MB of memory during our build and succeeds DMD 2.069 used up to 1600MB of memory before crashing with "Error: out of memory" Are there any plans to release a dmd64.exe?
Nov 04 2015
On Wednesday, 4 November 2015 at 17:52:23 UTC, Dmitry Olshansky wrote:If host machine is x64 bit windows try setting large address aware bit on the executable (there are tools to do that IRC), would allow it to eat up to ~4 gigs.We're already doing that since quite a while. https://github.com/D-Programming-Language/dmd/commit/172b55d22bd4a144d889c3fa8d9279d8e0a0ce1c
Nov 04 2015
On Thursday, 5 November 2015 at 01:08:42 UTC, Martin Nowak wrote:On Wednesday, 4 November 2015 at 17:52:23 UTC, Dmitry Olshansky wrote:Martin, it seems this is not working. I just had to use editbin manually on my laptop, again.If host machine is x64 bit windows try setting large address aware bit on the executable (there are tools to do that IRC), would allow it to eat up to ~4 gigs.We're already doing that since quite a while. https://github.com/D-Programming-Language/dmd/commit/172b55d22bd4a144d889c3fa8d9279d8e0a0ce1c
Nov 23 2015
On Wednesday, 4 November 2015 at 17:52:23 UTC, Dmitry Olshansky wrote:If host machine is x64 bit windows try setting large address aware bit on the executable (there are tools to do that IRC), would allow it to eat up to ~4 gigs.What can we do when it eats up all 4 gigs? (Windows)
Nov 04 2015
On Thursday, November 05, 2015 02:38:01 Sebastiaan Koppe via Digitalmars-d-announce wrote:On Wednesday, 4 November 2015 at 17:52:23 UTC, Dmitry Olshansky wrote:With any program, if you're hitting the limit of the 32-bit address space (which is actually more like 3.6 GiB than 4), then you really only have two options - use less memory or go to 64-bit. In the case of dmd specifically, that means either reducing how much memory dmd consumes (which would mean improvements to the dmd codebase), have a 64-bit build of dmd (I have no idea what's involved with that, though it sounds like it's been done before), or you have to build your program in separate pieces that each require a low enough amount of memory when compiling that they don't run out of memory. Phobos has been built in pieces for quite a while now specifically because it requires too much memory to build it all at once (std.algorithm alone requires a lot of memory thanks to all of the template instantiations in its unit tests). - Jonathan M DavisIf host machine is x64 bit windows try setting large address aware bit on the executable (there are tools to do that IRC), would allow it to eat up to ~4 gigs.What can we do when it eats up all 4 gigs? (Windows)
Nov 07 2015
On 07-Nov-2015 16:25, Jonathan M Davis via Digitalmars-d-announce wrote:On Thursday, November 05, 2015 02:38:01 Sebastiaan Koppe via Digitalmars-d-announce wrote:Getting 64-bit packaged should be simplest thing possible. Ask around on D.learn maybe somebody could either show how to build it manually or at least have done so before. Otherwise - the single biggest problem with memory is CTFE leaking memory like crazy. Second to that is templates. IMHO enabling D's GC in the frontend is better way to fix leaking in the CTFE, but there are some issues with that (it segfaults if we enable GC). Lastly compiler's frontend could use some improvement in general and now that it's written in D and I totally expect better memory management to come soon.On Wednesday, 4 November 2015 at 17:52:23 UTC, Dmitry Olshansky wrote:If host machine is x64 bit windows try setting large address aware bit on the executable (there are tools to do that IRC), would allow it to eat up to ~4 gigs.What can we do when it eats up all 4 gigs? (Windows)Phobos has been built in pieces for quite a while now specifically because it requires too much memory to build it all at once (std.algorithm alone requires a lot of memory thanks to all of the template instantiations in its unit tests).That's only true for unittests, it still builds the library in one go (in about 7 seconds for me) on windows. -- Dmitry Olshansky
Nov 07 2015
On Saturday, November 07, 2015 17:41:20 Dmitry Olshansky via Digitalmars-d-announce wrote:On 07-Nov-2015 16:25, Jonathan M Davis via Digitalmars-d-announce wrote:Yes, but it's forced to do that with the unit test build, because it takes too much memory to compile them. Other programs may have the same problem (especially if they use templates and CTFE heavily). But dmd just does not do well with memory consumption when it comes to templates and CTFE, and it definitely will be a major improvement when we can reduce how much memory compiling them requires. - Jonathan M DavisPhobos has been built in pieces for quite a while now specifically because it requires too much memory to build it all at once (std.algorithm alone requires a lot of memory thanks to all of the template instantiations in its unit tests).That's only true for unittests, it still builds the library in one go (in about 7 seconds for me) on windows.
Nov 08 2015
On 8/11/2015 1:41 AM, Dmitry Olshansky wrote:IMHO enabling D's GC in the frontend is better way to fix leaking in the CTFE, but there are some issues with that (it segfaults if we enable GC).Actually I think it's fixed now, just disabled. It used to have problems with lib*/scan*, but those are in D now, and most of the allocations from the glue layer are being forwarded to the GC through rmem. If anyone wants to try it they just need to add -version=GC to the DMD build flags and insert this function in root/rmem.d's version(GC) block. extern (C) void* allocmemory(size_t m_size) { return GC.malloc(m_size); }
Nov 08 2015
On Sunday, 8 November 2015 at 22:45:05 UTC, Daniel Murphy wrote:Actually I think it's fixed now, just disabled. It used to have problems with lib*/scan*, but those are in D now, and most of the allocations from the glue layer are being forwarded to the GC through rmem. If anyone wants to try it they just need to add -version=GC to the DMD build flags and insert this function in root/rmem.d's version(GC) block. extern (C) void* allocmemory(size_t m_size) { return GC.malloc(m_size); }Is there any reason why this isn't currently used in the front end?
Nov 08 2015
On 9/11/2015 10:25 AM, Jack Stouffer wrote:Is there any reason why this isn't currently used in the front end?Lack of testing, focus on matching c-dmd performance, it used to be blocked and nobody realized it wasn't any more etc.
Nov 08 2015
On Saturday, 7 November 2015 at 13:25:41 UTC, Jonathan M Davis wrote:With a codebase like phobos, compiling in several steps isn't a bad solution. But I am building a parser using pegged, and splitting up the grammar into different modules feels like a no-no. It's an option though. Right now I run compile with gdc in a virtual machine. Still eats about 7 gigs. The 64bit dmd would be nice. I waved the idea goodbye when I couldn't find a download link. Maybe need to look into it.What can we do when it eats up all 4 gigs? (Windows)With any program, if you're hitting the limit of the 32-bit address space (which is actually more like 3.6 GiB than 4), then you really only have two options - use less memory or go to 64-bit. In the case of dmd specifically, that means either reducing how much memory dmd consumes (which would mean improvements to the dmd codebase), have a 64-bit build of dmd (I have no idea what's involved with that, though it sounds like it's been done before), or you have to build your program in separate pieces that each require a low enough amount of memory when compiling that they don't run out of memory. Phobos has been built in pieces for quite a while now specifically because it requires too much memory to build it all at once (std.algorithm alone requires a lot of memory thanks to all of the template instantiations in its unit tests). - Jonathan M Davis
Nov 08 2015
On Sunday, 8 November 2015 at 14:14:23 UTC, Sebastiaan Koppe wrote:With a codebase like phobos, compiling in several steps isn't a bad solution. But I am building a parser using pegged, and splitting up the grammar into different modules feels like a no-no. It's an option though.Note that you can still used pegged in a stand-alone style with just saving generator output in a separate module and building it with project in a separate step. This means losing one of main advantages compared to using 3d party generators but if you hit the memory limit hard it may be the only option for now.
Nov 08 2015
On Sunday, 8 November 2015 at 14:22:38 UTC, Dicebot wrote:On Sunday, 8 November 2015 at 14:14:23 UTC, Sebastiaan Koppe wrote:You mean instead of mixin(grammer(`...`)) I write the output of grammer(`...`) to a file and include that into the final build? That might be a nice idea once I make a dub package out of it; to presupply the generated parser instead of eating up user's mem. Thanks.With a codebase like phobos, compiling in several steps isn't a bad solution. But I am building a parser using pegged, and splitting up the grammar into different modules feels like a no-no. It's an option though.Note that you can still used pegged in a stand-alone style with just saving generator output in a separate module and building it with project in a separate step. This means losing one of main advantages compared to using 3d party generators but if you hit the memory limit hard it may be the only option for now.
Nov 08 2015
On Sunday, 8 November 2015 at 14:37:32 UTC, Sebastiaan Koppe wrote:You mean instead of mixin(grammer(`...`)) I write the output of grammer(`...`) to a file and include that into the final build?Yes, use asModule() for that [1]. Not only does it enable using large grammars, it also saves compilation time for builds after the grammar has stabilised. And should the grammar still be too large, it is good to know that Pegged is good at composing a parser from different sub-grammars [2]. So the difficulty is only in finding natural boundaries at which the grammar can be split, making it work should be easy. [1] https://github.com/PhilippeSigaud/Pegged/wiki/Grammars-as-D-Modules [2] https://github.com/PhilippeSigaud/Pegged/wiki/Grammar-Composition
Nov 09 2015
On Monday, 9 November 2015 at 09:19:11 UTC, Bastiaan Veelo wrote:Yes, use asModule() for that [1]. Not only does it enable using large grammars, it also saves compilation time for builds after the grammar has stabilised.Thanks.And should the grammar still be too large, it is good to know that Pegged is good at composing a parser from different sub-grammars [2]. So the difficulty is only in finding natural boundaries at which the grammar can be split, making it work should be easy.I knew about composition. I just wanted to keep the same names as per the original spec, instead of nesting.
Nov 09 2015
On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:FYI, I just installed the 2.069 version, and now I'm unable to compile some modules, getting the same "Error: out of memory". I isolated a tiny one raising the issue, and its all about a moderately complex ctRegex expression (see below) that seems to brake the compiler. Other modules also raise the problem, but they are bigger in term of code lines. So, at a first glance it looks like a deeper problem that just a "higher memory consumption" issue, to me. I'm a bit frustrated, this was working so well so far... auto r=ctRegex!( `\s*(?:` ~ `(?: prefix\s+(?P<prefixDecl>\pL+):\s+<(?P<iri>[^<>\s]+)>\s*\.\s*)|` ~ `(?:(_|\pL+):((?:\pL|[\.\-_0-9])*(?:\pL|\d))\s+(\pL+):((?:\pL|[\.\-_0-9])*(?:\pL|\d))\s+` ~ `(?:(?:(_|\pL+):((?:\pL|[\.\-_0-9])*(?:\pL|\d)))|` ~ `(?:(?:(?:"{3}(?P<literal>.*)"{3})|(?:"(?P<literal>.*)"))` ~ `(?:` ~ `(?: (?P<langTag>[A-Za-z]+(?:\-[A-Za-z0-9]+)*))|` ~ `(?:\^\^(?P<typeTag1>\pL+):(?P<typeTag2>\w+))` ~ `)?` ~ `)` ~ `)\s*` ~ `\.\s*)` ~`)` ); Thank you for any help beyond splitting down the regex above (any magic memory-oriented option somewhere?) ... Jean-Yves PS I would like to take the opportunity to thank all contributors for their great work on D...Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinSeems like memory usage went up by a significant amount, as I can no longer compile our project on my Windows machine. DMD 2.068.2 uses up to 1100MB of memory during our build and succeeds DMD 2.069 used up to 1600MB of memory before crashing with "Error: out of memory" Are there any plans to release a dmd64.exe?
Dec 07 2015
On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves Vion-Dury wrote:On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:Windows?[...]FYI, I just installed the 2.069 version, and now I'm unable to compile some modules, getting the same "Error: out of memory". I isolated a tiny one raising the issue, and its all about a moderately complex ctRegex expression (see below) that seems to brake the compiler. Other modules also raise the problem, but they are bigger in term of code lines. [...]
Dec 07 2015
On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins wrote:On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves Vion-Dury wrote:Yes indeed, Windows... is it a problem (the previous version was fine with my environment)?On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:Windows?[...]FYI, I just installed the 2.069 version, and now I'm unable to compile some modules, getting the same "Error: out of memory". I isolated a tiny one raising the issue, and its all about a moderately complex ctRegex expression (see below) that seems to brake the compiler. Other modules also raise the problem, but they are bigger in term of code lines. [...]
Dec 08 2015
On Tuesday, 8 December 2015 at 08:39:26 UTC, Jean-Yves Vion-Dury wrote:On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins wrote:I guess the issue is that the Windows DMD binary is 32-bit and supports addressing only 2GB (or 4GB if it's Large Address Space aware), whereas on other OSs it's 64-bit by default and doesn't have this limitation. Maybe if you need to keep using Windows your best option is to build a 64-bit DMD yourself. I think the easiest way to do this on Windows is to use Digger: https://github.com/cybershadow/DiggerOn Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves Vion-Dury wrote:Yes indeed, Windows... is it a problem (the previous version was fine with my environment)?On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:Windows?[...]FYI, I just installed the 2.069 version, and now I'm unable to compile some modules, getting the same "Error: out of memory". I isolated a tiny one raising the issue, and its all about a moderately complex ctRegex expression (see below) that seems to brake the compiler. Other modules also raise the problem, but they are bigger in term of code lines. [...]
Dec 08 2015
On Tuesday, 8 December 2015 at 08:39:26 UTC, Jean-Yves Vion-Dury wrote:On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins wrote:You will need to add the add the LARGEADDRESSAWARE flag to your executable manually. It is supposed to be done automatically, but it is not working currently, so you will have to do it manually... It indeed stopped working since 2.069.0. Unfortunately, it is a royal pain in the anus, because you need to download the WDK. To save you some pain, if you have Windows 10, it's WDK doesn't install property, so you best install WDK 8.1 which works smooth. Perhaps there are some other tools that do it, but I am always reluctant to download these sort of stuff from untrusted sources.On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves Vion-Dury wrote:Yes indeed, Windows... is it a problem (the previous version was fine with my environment)?On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:Windows?[...]FYI, I just installed the 2.069 version, and now I'm unable to compile some modules, getting the same "Error: out of memory". I isolated a tiny one raising the issue, and its all about a moderately complex ctRegex expression (see below) that seems to brake the compiler. Other modules also raise the problem, but they are bigger in term of code lines. [...]
Dec 08 2015
On Tuesday, 8 December 2015 at 13:14:58 UTC, Márcio Martins wrote:On Tuesday, 8 December 2015 at 08:39:26 UTC, Jean-Yves Vion-Dury wrote:That's fucking ridiculous. I'm sorry, but strong word are warranted on that one. Memory consumption have been an issue for a while now. Never freeing and assuming everything will be already to win few ms out of a build is the most ridiculous choice dmd has done. Especially on a 32bits build. Will this problem be taken seriously at some point ?On Monday, 7 December 2015 at 17:32:05 UTC, Márcio Martins wrote:You will need to add the add the LARGEADDRESSAWARE flag to your executable manually. It is supposed to be done automatically, but it is not working currently, so you will have to do it manually... It indeed stopped working since 2.069.0. Unfortunately, it is a royal pain in the anus, because you need to download the WDK. To save you some pain, if you have Windows 10, it's WDK doesn't install property, so you best install WDK 8.1 which works smooth. Perhaps there are some other tools that do it, but I am always reluctant to download these sort of stuff from untrusted sources.On Monday, 7 December 2015 at 17:06:48 UTC, Jean-Yves Vion-Dury wrote:Yes indeed, Windows... is it a problem (the previous version was fine with my environment)?On Wednesday, 4 November 2015 at 15:25:04 UTC, Márcio Martins wrote:Windows?[...]FYI, I just installed the 2.069 version, and now I'm unable to compile some modules, getting the same "Error: out of memory". I isolated a tiny one raising the issue, and its all about a moderately complex ctRegex expression (see below) that seems to brake the compiler. Other modules also raise the problem, but they are bigger in term of code lines. [...]
Dec 08 2015
On Tue, 08 Dec 2015 22:07:15 +0000, deadalnix wrote:That's fucking ridiculous. I'm sorry, but strong word are warranted on that one. Memory consumption have been an issue for a while now. Never freeing and assuming everything will be already to win few ms out of a build is the most ridiculous choice dmd has done. Especially on a 32bits build. Will this problem be taken seriously at some point ?At the time of the C++ to D cutover, DMD did some GC-unsafe things. In the interests of expediency, since the compiler isn't a long-running process, they chose to disable the GC in the interim. While at least some of these GC-unsafe behaviors have been excised, there is lingering concern that some might remain, so nobody has re-enabled the GC. This has been somewhat on the backburner; Windows has typically been of secondary concern to D devs, and Linux has 64-bit builds, so address space exhaustion hasn't been as problematic there. Anyway, this is something that's intended to be fixed, and regular 64-bit Windows builds are something that should happen. It just requires the dev team to have better access to Windows.
Dec 08 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinArch Linux packages uploaded.
Nov 04 2015
V Wed, 04 Nov 2015 18:44:40 +0000 Dicebot via Digitalmars-d-announce <digitalmars-d-announce puremagic.com> napsáno:On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Thanks :) Btw. any specific reason why dub is not in dlang group?Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinArch Linux packages uploaded.
Nov 04 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements.Thanks and congratulations to all involved! Just built and installed it. Now, what to try out first ... :-)
Nov 04 2015
On Wednesday, 04 November, 2015 09:49 AM, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinGreat! This is fantastic! Thank you D community.
Nov 04 2015
On 11/03/2015 08:49 PM, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinThis schedule seems to work well. Daily downloads on the rise - 28-days moving average almost 1400 as of today. Good work everyone and particularly thanks Martin for putting us on a schedule! http://erdani.com/d/downloads.daily.png Andrei
Nov 08 2015
On Sunday, 8 November 2015 at 18:56:55 UTC, Andrei Alexandrescu wrote:On 11/03/2015 08:49 PM, Martin Nowak wrote:This made me a bit interested on Linux package downloads, but the only sources seem to be self-reported so you can only compare it relatively. Interestingly, GDC seems *very* popular - it has a 4:1 install rate of gccgo and only trailing slightly behind the golang-go package(reference compiler?) on Ubuntu's popcon. Debian's shows nearly similar numbers. LDC is lagging severely behind on both - packaging issue?Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinThis schedule seems to work well. Daily downloads on the rise - 28-days moving average almost 1400 as of today. Good work everyone and particularly thanks Martin for putting us on a schedule! http://erdani.com/d/downloads.daily.png Andrei
Nov 08 2015
On 11/8/15 2:58 PM, rsw0x wrote:Interestingly, GDC seems *very* popular - it has a 4:1 install rate of gccgo and only trailing slightly behind the golang-go package(reference compiler?) on Ubuntu's popcon.Link? -- Andrei
Nov 08 2015
On Monday, 9 November 2015 at 02:15:17 UTC, Andrei Alexandrescu wrote:On 11/8/15 2:58 PM, rsw0x wrote:debian: https://qa.debian.org/popcon-graph.php?packages=gdc%2Cgccgo%2Cgolang&show_installed=on&want_legend=on&want_ticks=on&from_date=&to_date=&hlght_date=&date_fmt=%25Y-%25m&beenhere=1 ubuntu: http://ubuntu-popcon.43-1.org/cgi-bin/graph.pl?name=gdc http://ubuntu-popcon.43-1.org/cgi-bin/graph.pl?name=golang-go http://ubuntu-popcon.43-1.org/cgi-bin/graph.pl?name=gccgo note that dmd is not redistributed on most linux distros due to licensing issuesInterestingly, GDC seems *very* popular - it has a 4:1 install rate of gccgo and only trailing slightly behind the golang-go package(reference compiler?) on Ubuntu's popcon.Link? -- Andrei
Nov 08 2015
On Monday, 9 November 2015 at 03:15:29 UTC, rsw0x wrote:On Monday, 9 November 2015 at 02:15:17 UTC, Andrei Alexandrescu wrote:Opt-in stats from Arch: https://www.archlinux.de/?page=PackageStatistics go 19.45% rust 5.92% gcc-go 5.61% dmd 2.56% ldc 1.72% gdc 1.60%On 11/8/15 2:58 PM, rsw0x wrote:debian: https://qa.debian.org/popcon-graph.php?packages=gdc%2Cgccgo%2Cgolang&show_installed=on&want_legend=on&want_ticks=on&from_date=&to_date=&hlght_date=&date_fmt=%25Y-%25m&beenhere=1 ubuntu: http://ubuntu-popcon.43-1.org/cgi-bin/graph.pl?name=gdc http://ubuntu-popcon.43-1.org/cgi-bin/graph.pl?name=golang-go http://ubuntu-popcon.43-1.org/cgi-bin/graph.pl?name=gccgo note that dmd is not redistributed on most linux distros due to licensing issuesInterestingly, GDC seems *very* popular - it has a 4:1 install rate of gccgo and only trailing slightly behind the golang-go package(reference compiler?) on Ubuntu's popcon.Link? -- Andrei
Nov 09 2015
On Monday, 9 November 2015 at 10:39:21 UTC, Thomas Brix Larsen wrote:Opt-in stats from Arch: https://www.archlinux.de/?page=PackageStatistics go 19.45% rust 5.92% gcc-go 5.61% dmd 2.56% ldc 1.72% gdc 1.60%This matches my personal understanding of current "market" share for those.
Nov 09 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinI tried to install rpm-package on Fedora 20 with rpm -i, but it gives me error: Failed dependencies: glibc-devel(x86-32) is needed by dmd-2.069.0-0.x86_64 libcurl(x86-32) is needed by dmd-2.069.0-0.x86_64 Why do package depends on 32-bit libraries? Was it always like that? I never installed dmd on Fedora before.
Nov 09 2015
On Monday, 9 November 2015 at 12:28:09 UTC, FreeSlave wrote:I tried to install rpm-package on Fedora 20 with rpm -i, but it gives me error: Failed dependencies: glibc-devel(x86-32) is needed by dmd-2.069.0-0.x86_64 libcurl(x86-32) is needed by dmd-2.069.0-0.x86_64 Why do package depends on 32-bit libraries? Was it always like that? I never installed dmd on Fedora before.Yes, it was always like that. To be able to generate 32-bit binaries, and dmd-64 can do that, these 32-bit packages are required.
Nov 09 2015
On Monday, 9 November 2015 at 12:58:39 UTC, Dragos Carp wrote:On Monday, 9 November 2015 at 12:28:09 UTC, FreeSlave wrote:More common practice is to declare such dependencies as optional though.I tried to install rpm-package on Fedora 20 with rpm -i, but it gives me error: Failed dependencies: glibc-devel(x86-32) is needed by dmd-2.069.0-0.x86_64 libcurl(x86-32) is needed by dmd-2.069.0-0.x86_64 Why do package depends on 32-bit libraries? Was it always like that? I never installed dmd on Fedora before.Yes, it was always like that. To be able to generate 32-bit binaries, and dmd-64 can do that, these 32-bit packages are required.
Nov 09 2015
On 11/09/2015 07:08 PM, Dicebot wrote:More common practice is to declare such dependencies as optional though.I made a ticket https://issues.dlang.org/show_bug.cgi?id=15308. Simply changing https://github.com/D-Programming-Language/installer/blob/41fb25ce5e5ff2c14728f490ee4579ac49bb989a/linux/dmd_rpm.sh#L266 doesn't work b/c the rpmtool from debian used to build the rpm packages doesn't support Recommends.
Nov 09 2015
On Monday, 9 November 2015 at 21:38:13 UTC, Martin Nowak wrote:On 11/09/2015 07:08 PM, Dicebot wrote:Sorry, I don't know a single thing about RPM world thus can't really help meaningfully :(More common practice is to declare such dependencies as optional though.I made a ticket https://issues.dlang.org/show_bug.cgi?id=15308. Simply changing https://github.com/D-Programming-Language/installer/blob/41fb25ce5e5ff2c14728f490ee4579ac49bb989a/linux/dmd_rpm.sh#L266 doesn't work b/c the rpmtool from debian used to build the rpm packages doesn't support Recommends.
Nov 09 2015
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:Glad to announce D 2.069.0. http://dlang.org/download.html http://downloads.dlang.org/releases/2.x/2.069.0/ This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. See the changelog for more details. http://dlang.org/changelog/2.069.0.html -MartinI'd like to put dlang people attention this: http://forum.dlang.org/post/bxmpvrttbhfuddsymrnk forum.dlang.org It looks like there's been a problem when you compiled phobos because the new allocators miss !
Nov 10 2015