tooling quality and some random rant

Walter Bright newshound2 at digitalmars.com
Sun Feb 13 11:32:16 PST 2011


bearophile wrote:
> 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.


I think it's best to avoid such things.


More information about the Digitalmars-d mailing list