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

Mike Parker aldacron at gmail.com
Tue Nov 26 17:40:17 PST 2013


On 11/27/2013 6:12 AM, David Nadlinger wrote:
> On Tuesday, 26 November 2013 at 21:04:31 UTC, Andrei Alexandrescu wrote:
>> On 11/26/13 12:21 PM, Dicebot wrote:
>>> I really think providing just source + single additional .deb package as
>>> an example is the best way to go.
>>
>> Well we kind of do that already. No?
>
> The issue is (mainly) with people expecting the binaries from the
> official .zip file to work on all Linux platforms.
>

This problem would be solved by going with a dynamic binding for libcurl 
rather than a static binding. Then std.net.curl could load libcurl on 
demand and it doesn't matter how it was compiled (unless, of course, the 
libcurl API changes with compiler flags).


More information about the Digitalmars-d mailing list