Modern C++ Lamentations

Walter Bright newshound2 at digitalmars.com
Sun Dec 30 22:37:59 UTC 2018


On 12/30/2018 6:27 AM, H. S. Teoh wrote:
> Recently I noticed that LDC now compiles every function into their own
> section

DMD has always done that.

> and runs LTO, including GC of unreferenced sections, by default.

I've tried using the GC feature of ld, but it would produce executables that 
crashed.

But that was years ago, perhaps ld has improved. If someone would like to turn 
that on with dmd, it would be a worthwhile experiment.


More information about the Digitalmars-d mailing list