DMD 1.030 and 2.014 releases
Walter Bright
newshound1 at digitalmars.com
Fri May 16 23:29:49 PDT 2008
These contain a new way of building that I've wanted to do for a long
time. dmd can now build libraries directly, without writing out object
files or invoking the librarian. This accelerates library builds by a
whopping factor of 3! Besides, it doesn't litter your directories with
pointless object files.
The library build option has another major coolness feature - before,
one module compiles to one object file. With library build, one source
file can compile to multiple object files. This cuts down on executable
bloat from pulling in object files with irrelevant stuff in them.
Another build improvement is when multiple modules are compiled at the
same time to build an executable, only one object file is created with
the generated code for all modules combined into it. This speeds
linking, and also eliminates pointless file detritus.
No, having dmd incorporate the linking is probably not going to happen
:-(. Librarians are so simple, though, that this is a big win.
Yes, both 1.0 and 2.0 dmd's get this (it doesn't affect the language).
Another cool new feature is the dmd -man switch. Try it out! Lots of new
library stuff, bugfixes, and Andrei has completely redone rdmd.
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.030.zip
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.014.zip
More information about the Digitalmars-d-announce
mailing list