hello world executable size

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 25 04:59:23 PDT 2015


On Thursday, 25 June 2015 at 11:07:11 UTC, Vladimir Panteleev 
wrote:
> On Thursday, 25 June 2015 at 11:05:00 UTC, Joakim wrote:
>> I was curious if binary sizes had decreased because of the 
>> changes Ilya had been making to try and scope imports better 
>> and make them more selective:
>
> http://digger.k3.1azy.net/trend/

Took 90 MiB of JSON to see it, but finally got it, funny how 
executable size swings wildly up to five times larger over the 
years. :) Anyway, I saw that viewer when you announced it before: 
any plans to add it to the github PR checks, along with your 
recent check for documentation info?

>> I used nm to try and find some of the symbols using the most 
>> space (command taken from SO):
>
> http://thecybershadow.net/d/mapview/

Does it show sizes somewhere?  Here's the dependency list for my 
binary:

http://thecybershadow.net/d/mapview/data/558be3dfde121.html

It also shows that the relevant setter calling GcPolicy.realloc 
isn't used anywhere:

http://thecybershadow.net/d/mapview/data/558be3dfde121.html#_D3std3uni32__T8CowArrayTS3std3uni8GcPolicyZ8CowArray6lengthMFNaNbNdNekZv


More information about the Digitalmars-d mailing list