tooling quality and some random rant

bearophile bearophileHUGS at lycos.com
Sun Feb 13 11:32:30 PST 2011


Walter:

> With D, the D compiler will create ModuleInfo and TypeInfo objects,
> which more or less rely on some sort of D runtime existing.

In LDC there are no_typeinfo (and in maybe no_moduleinfo) pragmas to disable the generation of those for specific types/modules:
http://www.dsource.org/projects/ldc/wiki/Docs#no_typeinfo

pragma(no_typeinfo) {
  struct Opaque {}
}

If it's useful then something similar may be added to DMD too.

Bye,
bearophile


More information about the Digitalmars-d mailing list