Size of Compiled Program

Martin Tschierschke via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 4 08:56:15 PST 2016


On Monday, 4 January 2016 at 14:51:59 UTC, Adam D. Ruppe wrote:
> On Monday, 4 January 2016 at 13:49:03 UTC, Martin Tschierschke 
> wrote:
>> When I was writing a small speed test - D versus Ruby
>
> The smallest possible ruby program has about ~5 MB of 
> dependencies, outside the operating system (the ruby runtime 
> itself).
>
> The D program has none. It carries its runtime with it, which 
> makes the executable a bit larger to compensate but helps 
> compatibility with other computers because the user doesn't 
> have to hunt down obscure D runtime packages.

Oh, thats interesting. When I tried to run the compiled "prime" 
on my notebook,
with the "same" Ubuntu release, I got an error, may be its 32 not 
64 Bit?
Any hint?





More information about the Digitalmars-d-learn mailing list