DMD - Windows

Manu turkeyman at gmail.com
Mon Jan 9 05:22:23 PST 2012


On 9 January 2012 15:14, Trass3r <un at known.com> wrote:

> Realistically, it shouldn't be until libphobos is stable *and* about as
>> common as libc.
>>
>
> Exactly. It doesn't make any sense as long as there's a new version every
> month.
> We should do something about dead code elimination though.
> -ffunction-sections -fdata-sections -L--gc-sections greatly reduces the
> size with gdc, but you can't expect users to always pass that.
>

static this() seems to be a problem. Unless there's powerful
whole-program-optimisation, how can it strip out any data that might be
initialised/touched in static this()?

Why wouldn't dead code be eliminated effectively already?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120109/abdb10f6/attachment.html>


More information about the Digitalmars-d mailing list