Big executable?

Jacob Carlborg doob at me.com
Thu Oct 7 01:39:41 PDT 2010


On 2010-10-06 20:01, Walter Bright wrote:
> so wrote:
>> On Wed, 06 Oct 2010 10:40:11 +0300, Jacob Carlborg <doob at me.com> wrote:
>>> You are aware of that C is (almost always) dynamically linked with
>>> the standard and runtime library but D (usually) is not? Using D1 and
>>> Tango on Mac OS X (which supports dynamic linking of the standard
>>> library) gives an executable of the size 16 KB if I recall correctly.
>>>
>>
>> Which is the next thing Walter will be working on after this 64bit
>> business.
>
> Yes, making Phobos a shared library rather than statically linking it
> will pretty much resolve this problem.

Of course when Phobos is a dynamic library you would probably need to 
distributed it as well and then you will have same size again or even 
larger.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list