Re: Diamond, a D Memory Debugger (and profiler) and thesis
Vladimir Panteleev wrote: On Mon, 22 Jun 2009 10:55:37 +0300, Extrawurst wrote: Sounds great, is it possible to read the aforementioned thesis too ? I've been undecided whether I should post it online, for the reason that it was written for a committee of Moldavian professors who had no clue what a garbage collector is (not to mention having heard of D), and were definitely not going to read my thesis (just listen to the 10-minute presentation)... Even though I did put some effort into it, it may have some inaccuracies. So please don't judge it too harshly :P Thesis: http://thecybershadow.net/d/Memory_Management_in_the_D_Programming_Language.pdf Presentation (PowerPoint 2007, sorry): http://thecybershadow.net/d/Presentation.pptx Vladimir I would just like to thank you posting your thesis. It was an interesting and enjoyable read. regards Nick B.
Re: Diamond, a D Memory Debugger (and profiler) and thesis
Nick B wrote: Vladimir Panteleev wrote: On Mon, 22 Jun 2009 10:55:37 +0300, Extrawurst wrote: Sounds great, is it possible to read the aforementioned thesis too ? I've been undecided whether I should post it online, for the reason that it was written for a committee of Moldavian professors who had no clue what a garbage collector is (not to mention having heard of D), and were definitely not going to read my thesis (just listen to the 10-minute presentation)... Even though I did put some effort into it, it may have some inaccuracies. So please don't judge it too harshly :P Thesis: http://thecybershadow.net/d/Memory_Management_in_the_D_Programming_Language.pdf Presentation (PowerPoint 2007, sorry): http://thecybershadow.net/d/Presentation.pptx Vladimir I would just like to thank you posting your thesis. It was an interesting and enjoyable read. regards Nick B. Thanks from my end too, i am still trying to find the time reading it though ;) Extrawurst
CDC- Compile D Code
Hello, I wrote a new build tool for D. I'm calling it CDC (for Compile D Code). It's hosted at http://dsource.org/projects/cdc . I'm open to any ideas or constructive criticism. My target here is anyone looking for a very simple build solution, not an everything and the kitchen sink project like DSSS (not that that's a bad thing). From the project description: This is a D programming language build script (and library) that can be used to compile D (version 1) source code. Unlike Bud, DSSS/Rebuild, Jake, and similar tools, CDC is contained within a single file that can easily be distributed with projects. This simplifies the build process since no other tools are required. The customBuild() function can be utilized to turn CDC into a custom build script for your project. CDC's only requirement is a D compiler. It is/will be supported on any operating system supported by the language. It works with dmd, ldc (soon), and gdc, phobos or tango. CDC can be used just like dmd, except for the following improvements. * CDC can accept paths as as well as individual source files for compilation. Each path is recursively searched for source, library, object, and ddoc files. * CDC automatically creates a modules.ddoc file for use with CandyDoc? and similar documentation utilities. * CDC defaults to use the compiler that was used to build itself. Compiler flags are passed straight through to that compiler. * The -op flag is always used, to prevent name conflicts in object and doc files. * Documentation files are all placed in the same folder with their full package names. This makes relative links between documents easier.
wxD 0.15 released
0.15 (afb) Add support for DMD on Mac OS X (i386 only) Fix setting of version=Posix and ldmd usage Support for building on Windows without MSYS http://wxd.sourceforge.net/ Tested with DMD 1.030 and wxWidgets 2.8.10, on: Mac OS X, Windows, Fedora and Ubuntu. mingw32-make -f makefile.gcc # COMPILER=DMD LIBRARY=Tango --anders
Re: CDC- Compile D Code
Eric Poggel Wrote: > Hello, > > I wrote a new build tool for D. I'm calling it CDC (for Compile D > Code). It's hosted at http://dsource.org/projects/cdc . I'm open to > any ideas or constructive criticism. My target here is anyone looking > for a very simple build solution, not an everything and the kitchen sink > project like DSSS (not that that's a bad thing). > > > From the project description: > > This is a D programming language build script (and library) that can be > used to compile D (version 1) source code. Unlike Bud, DSSS/Rebuild, > Jake, and similar tools, CDC is contained within a single file that can > easily be distributed with projects. This simplifies the build process > since no other tools are required. The customBuild() function can be > utilized to turn CDC into a custom build script for your project. > > CDC's only requirement is a D compiler. It is/will be supported on any > operating system supported by the language. It works with dmd, ldc > (soon), and gdc, phobos or tango. > > CDC can be used just like dmd, except for the following improvements. > > * CDC can accept paths as as well as individual source files for >compilation. Each path is recursively searched for source, >library, >object, and ddoc files. > * CDC automatically creates a modules.ddoc file for use with >CandyDoc? and similar documentation utilities. > * CDC defaults to use the compiler that was used to build itself. >Compiler flags are passed straight through to that compiler. > * The -op flag is always used, to prevent name conflicts in object >and doc files. > * Documentation files are all placed in the same folder with their >full package names. This makes relative links between documents >easier. It didn't build right away for me with DMD1.045 + Phobos. I changed line 141 which is: import std.c.time : sleep; to import std.c.time : sleep, usleep; And it built fine. The errors were: mich...@ubuntu:~/d/cdc/trunk$ dmd cdc.d cdc.d(623): Error: undefined identifier usleep cdc.d(623): Error: function expected before (), not usleep of type int
Re: CDC- Compile D Code
Michael P. wrote: Eric Poggel Wrote: Hello, I wrote a new build tool for D. I'm calling it CDC (for Compile D Code). It's hosted at http://dsource.org/projects/cdc . I'm open to any ideas or constructive criticism. My target here is anyone looking for a very simple build solution, not an everything and the kitchen sink project like DSSS (not that that's a bad thing). From the project description: This is a D programming language build script (and library) that can be used to compile D (version 1) source code. Unlike Bud, DSSS/Rebuild, Jake, and similar tools, CDC is contained within a single file that can easily be distributed with projects. This simplifies the build process since no other tools are required. The customBuild() function can be utilized to turn CDC into a custom build script for your project. CDC's only requirement is a D compiler. It is/will be supported on any operating system supported by the language. It works with dmd, ldc (soon), and gdc, phobos or tango. CDC can be used just like dmd, except for the following improvements. * CDC can accept paths as as well as individual source files for compilation. Each path is recursively searched for source, library, object, and ddoc files. * CDC automatically creates a modules.ddoc file for use with CandyDoc? and similar documentation utilities. * CDC defaults to use the compiler that was used to build itself. Compiler flags are passed straight through to that compiler. * The -op flag is always used, to prevent name conflicts in object and doc files. * Documentation files are all placed in the same folder with their full package names. This makes relative links between documents easier. It didn't build right away for me with DMD1.045 + Phobos. I changed line 141 which is: import std.c.time : sleep; to import std.c.time : sleep, usleep; And it built fine. The errors were: mich...@ubuntu:~/d/cdc/trunk$ dmd cdc.d cdc.d(623): Error: undefined identifier usleep cdc.d(623): Error: function expected before (), not usleep of type int Thanks. Your patch is now committed.
Re: CDC- Compile D Code
Eric Poggel wrote: CDC's only requirement is a D compiler. It is/will be supported on any operating system supported by the language. It works with dmd, ldc (soon), and gdc, phobos or tango. $ ./cdc -v cdc.d /usr/bin/ld: unknown flag: -ocdc Seems to be missing a space ? translate["-of"] = "-o"; Works OK on Mac OS X otherwise... (tested with Phobos if it matters) --anders
Re: CDC- Compile D Code
Eric Poggel Wrote: > Michael P. wrote: > > Eric Poggel Wrote: > > > >> Hello, > >> > >> I wrote a new build tool for D. I'm calling it CDC (for Compile D > >> Code). It's hosted at http://dsource.org/projects/cdc . I'm open to > >> any ideas or constructive criticism. My target here is anyone looking > >> for a very simple build solution, not an everything and the kitchen sink > >> project like DSSS (not that that's a bad thing). > >> > >> > >> From the project description: > >> > >> This is a D programming language build script (and library) that can be > >> used to compile D (version 1) source code. Unlike Bud, DSSS/Rebuild, > >> Jake, and similar tools, CDC is contained within a single file that can > >> easily be distributed with projects. This simplifies the build process > >> since no other tools are required. The customBuild() function can be > >> utilized to turn CDC into a custom build script for your project. > >> > >> CDC's only requirement is a D compiler. It is/will be supported on any > >> operating system supported by the language. It works with dmd, ldc > >> (soon), and gdc, phobos or tango. > >> > >> CDC can be used just like dmd, except for the following improvements. > >> > >> * CDC can accept paths as as well as individual source files for > >>compilation. Each path is recursively searched for source, > >>library, > >>object, and ddoc files. > >> * CDC automatically creates a modules.ddoc file for use with > >>CandyDoc? and similar documentation utilities. > >> * CDC defaults to use the compiler that was used to build itself. > >>Compiler flags are passed straight through to that compiler. > >> * The -op flag is always used, to prevent name conflicts in object > >>and doc files. > >> * Documentation files are all placed in the same folder with their > >>full package names. This makes relative links between documents > >>easier. > > > > It didn't build right away for me with DMD1.045 + Phobos. > > I changed line 141 which is: > > import std.c.time : sleep; > > to > > import std.c.time : sleep, usleep; > > And it built fine. > > The errors were: > > mich...@ubuntu:~/d/cdc/trunk$ dmd cdc.d > > cdc.d(623): Error: undefined identifier usleep > > cdc.d(623): Error: function expected before (), not usleep of type int > > Thanks. Your patch is now committed. No problem. Also, on the home page, http://dsource.org/projects/cdc, it says the homepage is http://yage3d.net in that little box. Might want to change that as well.
Re: CDC- Compile D Code
Anders F Björklund wrote: Eric Poggel wrote: CDC's only requirement is a D compiler. It is/will be supported on any operating system supported by the language. It works with dmd, ldc (soon), and gdc, phobos or tango. $ ./cdc -v cdc.d /usr/bin/ld: unknown flag: -ocdc Seems to be missing a space ? translate["-of"] = "-o"; Works OK on Mac OS X otherwise... (tested with Phobos if it matters) --anders Fixed. thanks for the bug report.