Should "std.net.curl" be moved from Phobos to Deimos?

Jordi Sayol g.sayol at yahoo.es
Mon Nov 25 18:18:54 PST 2013


El 26/11/13 01:36, Jonathan M Davis ha escrit:
[...]
> 
> At this point, I'm inclined to argue that Phobos should not depend on any 
> libraries other than the system libraries for each OS so that we can avoid 
> further dependencies that may not be available - especially when it comes to 
> Windows, since Windows comes with no 3rd party development libraries at all. 
> So, I would very much be against std.net.curl's inclusion at this point and 
> would argue that it should be in a library separate from Phobos and that if we 
> want similar functionality in Phobos, we need to implement it without relying 
> on anything other than system libraries. And from previous discussions on the 
> topic, I believe that Walter and several other dmd/Phobos devs agree with 
> that.
> 
> So, I'm all for removing std.net.curl, but if we do that, we'd obviously need 
> to deprecate it first rather than simply removing it, and we'd need to have a 
> separate library with std.net.curl in it (preferably one which could be pulled 
> in via dub) which people could switch to using instead. Whether that library 
> would be maintained by us, by Jonas (since he created it), or someone else, I 
> don't know, but ideally, it wouldn't be in Phobos any longer. At minimum, I 
> think that we should avoid putting any more 3rd party dependencies in Phobos 
> in the future.
> 
> - Jonathan M Davis
> 

+1

-- 
Jordi Sayol


More information about the Digitalmars-d mailing list