https://issues.dlang.org/show_bug.cgi?id=7319
kinke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #8 from kinke <[email protected]> --- (In reply to Mathias LANG from comment #5) > Just tested on Mac OSX. Modified to use `core.stdc.stdio : printf` and > `alias TypeTuple(T...) = T;` to remove Phobos imports. > > The test case now returns false for everything (the pointer is null, but not > the length). The binary is still huge (8.1 Mbs), even with LDC (5.5Mb). That must have another reason though. On Win64 and with DMD 2.091 / LDC 1.21, the 64-bit .obj file size is 27 KB (~2 KB overhead for the object.RTInfoImpl bit mask for the precise GC) and contains no struct initializers at all. The final executable size is < 0.5 MB when linking MSVC statically, and < 0.25 MB when linking MSVC dynamically. I.e., seems totally fixed. --
