The end of curl (in phobos)

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Sun May 8 06:31:46 PDT 2016


On Sunday, 8 May 2016 at 09:43:14 UTC, Steven Schveighoffer wrote:
> My understanding is that libcurl isn't default installed on 
> some platforms (e.g. windows). So we have a dependency on an 
> external library that may not be present. If in "first five 
> minutes" user wants to execute downloads from http server and 
> is told "oh, to use Phobos, you must download another library, 
> sorry", I don't think that helps.

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).


More information about the Digitalmars-d mailing list