[D-runtime] druntime should be a shared library/DLL
Walter Bright
walter at digitalmars.com
Wed Feb 20 11:08:04 PST 2013
On 2/20/2013 10:45 AM, Rainer Schuetze wrote:
>
>> They need updating first. But I suspect users would prefer that there
>> just be one dll (your first approach).
>
> I was afraid you would say that ;-) If you are in DLL hell, I don't think it
> makes a big difference whether you have to deal with one or two libraries.
> Also, sccrt70.dll is probably not a fast moving target.
>
> What you lose with compiling the C runtime into the D DLL is sharing it with a
> C host or DLL.
Right, but I don't think that's an issue here.
> If this gets ported to Win64 and the MS runtime, it might be more important
> because it seems more common to use the shared MS-CRT.
I agree that the situation for Win64 is different, and the shared MS-CRT dll
should be used.
>
> Also, the build process is a lot cleaner with snd.lib, because snn.lib has to
> be teared apart. I'm also a bit worried that not all objects in snn.lib are
> prepared for being used from multiple client DLLs.
>
>
I don't think there's an issue there.
More information about the D-runtime
mailing list