On 9 January 2012 15:14, Trass3r <[email protected]> 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?

Reply via email to