Object.factory() and exe file size bloat

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 22 13:22:56 PDT 2015


On Saturday, 22 August 2015 at 20:14:59 UTC, Walter Bright wrote:
> I'm not sure how export would help on Linux.

One of the use cases for export on Linux would be to set the ELF 
visibility based on it. Emitting all the symbols with default 
visibility, like we currently do, leads to size and load time 
problems with large libraries. Big C++ projects are plagued 
regularly by this (cf. "-fvisibility=hidden").

  — David


More information about the Digitalmars-d mailing list