How to stop DMD from exploding the executable file size?

ryuukk_ ryuukk.dev at gmail.com
Tue Aug 30 22:51:46 UTC 2022


Having this simple code makes the executable gigantic!

```D
struct Big
{
     int[1024 * 1024] big = 0;
}

Big big;
```

Only with DMD, LDC produces a tiny executable

Is there a flag available to fix this behavior? it's not 
sustainable


More information about the Digitalmars-d mailing list