What can be done to reduce executable size?

Trass3r un at known.com
Fri Dec 16 09:39:08 PST 2011


Am 16.12.2011, 04:40 Uhr, schrieb Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org>:
> https://github.com/D-Programming-Language/phobos/commit/b7f42ec925fb1d64564d48ea419e201bfc65ed53

Yeah one could also use the new (function-)local imports.

However, this also shows another problem common to C and D: You don't get  
any warnings if an import is unused.
A tool that detects removable import declarations would be awesome. I wish  
dmd was designed modularly and as a library like Clang...


More information about the Digitalmars-d mailing list