On 24/08/2016 7:50 PM, Tomer Filiba wrote:
#WEKA #INDUSTRY

I found this post from 2007
http://forum.dlang.org/post/[email protected] that refers to
this post from 2006
http://www.digitalmars.com/d/archives/digitalmars/D/37038.html#N37071 --
and I still don't realize, why do static arrays have this size limit on
them?

Any linker issues should be contained to the linker (i.e., use a
different linker, fix your linker). As for cross-device -- if C lets me
use huge static arrays, why should D impose a limit? As for executable
failing to load -- we have ~1GB .bss section and a ~100MB .rodata
section. No issues there.

You're welcome to fix optlink https://github.com/DigitalMars/optlink
Or write a whole new linker.

Of course there is no reason to not change this for -m32mscoff and -m64 on Windows at least that I am aware of.

Reply via email to