hello world executable size

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 28 03:06:19 PDT 2015


On Sunday, 28 June 2015 at 09:55:53 UTC, Vladimir Panteleev wrote:
> On Sunday, 28 June 2015 at 09:46:45 UTC, rsw0x wrote:
>> looks like this commit more than doubled the size of hello 
>> world
>>
>> https://github.com/D-Programming-Language/phobos/pull/3443
>
> Woah. Why would removing an import increase the filesize?

I didn't get that either, maybe he meant the PR that yours fixed 
is the one that doubled it?

On Sunday, 28 June 2015 at 09:58:35 UTC, Vladimir Panteleev wrote:
> On Sunday, 28 June 2015 at 09:27:56 UTC, Joakim wrote:
>> Another check that would be more worthwhile but harder to 
>> measure would be speed of compilation of druntime/phobos, 
>> especially since speed of compilation is considered a key 
>> selling point of D.  Harder to measure because it depends on 
>> what else is going on on that machine, but with some care and 
>> enough samples, you could get something representative.
>
> Compilation/linking time are measured for the sample programs.

Yeah, I saw that, but I was talking about adding a github check 
for D PRs and how they affect compilation speed, especially for 
dmd PRs.  Druntime/Phobos and eventually ddmd may not be the best 
way to check it, but it's the closest lamppost. ;)

Smaller binary size is nice to have, but not that important, 
especially since we've been neglecting it for some time now.

Compilation speed is something we're always trumpeting, we better 
track it.


More information about the Digitalmars-d mailing list