Program size, linking matter, and static this()
Steven Schveighoffer
schveiguy at yahoo.com
Mon Dec 19 07:08:00 PST 2011
On Fri, 16 Dec 2011 17:30:44 -0500, torhu <no at spam.invalid> wrote:
> On 16.12.2011 22:28, Steven Schveighoffer wrote:
>> In short, dlls will solve the problem, let's work on that instead of
>> shuffling around code.
>
> How exactly do they solve the problem? An exe plus a DLL version of the
> library will usually be larger than just a statically linked exe.
The DLL is loaded into memory once. With static linking, it's loaded
every time you run an exe.
-Steve
More information about the Digitalmars-d
mailing list