Program size, linking matter, and static this()

Richard Webb webby at beardmouse.org.uk
Fri Dec 16 14:40:19 PST 2011


On 16/12/2011 18:29, Andrei Alexandrescu wrote:
>
> Here's a list of all files in std using static cdtors:
>
> std/__fileinit.d
> std/concurrency.d
> std/cpuid.d
> std/cstream.d
> std/datebase.d
> std/datetime.d
> std/encoding.d
> std/internal/math/biguintcore.d
> std/internal/math/biguintx86.d
> std/internal/processinit.d
> std/internal/windows/advapi32.d
> std/mmfile.d
> std/parallelism.d
> std/perf.d
> std/socket.d
> std/stdiobase.d
> std/uri.d
>

On a slightly related note: 
http://d.puremagic.com/issues/show_bug.cgi?id=5614

Basically, do the static constructors in __fileinit and mmfile need to 
exist on a (hypothetical) 64bit Windows build?


More information about the Digitalmars-d mailing list