Executable size

Neal Alexander WQEQWEUQY at HOTMAIL.COM
Fri May 9 15:24:20 PDT 2008


Steven Schveighoffer wrote:
> Once D is natively using DLL/.so to store the runtime, executable sizes 
> should go way down.
> 
> -Steve 
> 
> 
Not many users are going to have the D runtime DLL present on their 
system. Even a lot of MSVC++ programs end up being distributed with 
local copies of the MSVCRT runtime just to be sure that people dont have 
broken versions in their system folder.

People need the option to statically or dynamically link the runtime 
based on their specific project needs. Statically linking the core 
runtime is best unless your project is split across multiple D 
executable files/DLLs.

In any case, D's runtime bloat is pretty much on par with OCaml and 
Haskell/GHC(SplitObjs).


DWT seems pretty bloated, but its probably half the size of GTK haha.






More information about the Digitalmars-d mailing list