too early for D2 and too late for D1

Walter Bright newshound2 at digitalmars.com
Sun Apr 17 15:23:01 PDT 2011


On 4/17/2011 1:54 PM, jasonw wrote:
> Walter Bright Wrote:
>
>> On 4/17/2011 1:46 PM, jasonw wrote:
>>> I'd like to hear your comments about the 32-bit D2 and minimal
>>> executables issue. If I use dietlibc and gcc, the minimal (static) binary
>>> is about 0.2 kilobytes. DMD should have some switch (-embedded) which
>>> leaves out all the cruft I don't need. I'd like to use the cool new
>>> features and start with this kind of minimal executables. 0.5 - 50
>>> kilobyte range is optimal.
>>
>> Are you talking about static linking, or using shared libraries?
>
> I mentioned static binaries, but I meant statically linked binaries. So yes,
> a situation where everything, including the standard library, is statically
> linked.

Many D features, such as the GC, are simply going to require a significant 
amount of code in the library. It is possible to cut down the library size if 
you are willing to eschew some features.


More information about the Digitalmars-d mailing list