The end of curl (in phobos)

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Tue May 10 07:26:27 PDT 2016


On Tuesday, 10 May 2016 at 14:19:15 UTC, krzaq wrote:
> On Sunday, 8 May 2016 at 13:31:46 UTC, Vladimir Panteleev wrote:
>> On Sunday, 8 May 2016 at 09:43:14 UTC, Steven Schveighoffer 
>> wrote:
>>> [...]
>>
>> I understand that this is no longer a problem. We link 
>> dynamically to the DLL, which is distributed with DMD, and 
>> it's lazy-loaded (so we don't do anything at all until the 
>> first std.net.curl function is called).
>
> That could lead to some nasty surprises when distributing a 
> binary. I'd rather hear my customer say "I can't start your 
> program, because some .dll is missing" than "it randomly 
> crashes / doesn't work".

You imply that the error message that Druntime generates when it 
cannot find the DLL is significantly worse than the error message 
that the OS generates when it cannot find the DLL.


More information about the Digitalmars-d mailing list