QtD 0.1 is out!
Walter Bright
newshound1 at digitalmars.com
Sat Feb 28 12:04:02 PST 2009
Yigal Chripun wrote:
> this is related to D's compilation model which is copied from C/C++ and
> it seems to me that this model is outdated. C#'s model of assemblies and
> metadata seems more capable. for instance there's no need for header
> files, that info is stored in the metadata of the assembly.
D can do the same thing - it can use the source of the module directly,
or it can use a hand-generated 'header' file, or an automatically
generated 'header' file. The latter is semantically indistinguishable
from compiling the source module to a "metadata" file.
I originally considered having D write such a "metadata" file, until I
realized I didn't have to invent a format and a writer and reader for
that format. I could just use the D source code notation as a "metadata"
file and reuse the existing code.
More information about the Digitalmars-d-announce
mailing list