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

Dmitry Olshansky dmitry.olsh at gmail.com
Tue Nov 26 12:24:53 PST 2013


26-Nov-2013 23:40, Andrei Alexandrescu пишет:
> On 11/26/13 11:23 AM, Dmitry Olshansky wrote:
>> For the moment it looks as if half people are pissed off because of the
>> work they would need to do on it (workaround, shipping, maintenance,
>> etc.), and the other half (using it) are having usability problems on
>> all fronts.
>
> I don't think that's the whole set. Don't forget the forum participation
> is a very small fraction of people who actually use D out there. So
> there are a bunch of people who don't use curl and aren't hurt, and
> presumably quite a few people who do use std.net.curl without troubles
> and don't know we plan to pull the plug on it.

Yeah, there is a big part of people how don't use it and are just fine. 
And some folks that may as well use it (with a custom link step on 
Linux) and be OK. I don't think we should deprecate or remove 
std.net.curl unless a strong alternative comes along.

It seems that radically inclined folks want to get rid of it now, 
presumably for immediate maintenance benefits. The thing is, the best we 
can pull off with deprecation is no less then a year. Then there is 
basically no point in it, we just as well bite the bullet and fix what 
there is to fix in the said 1 year time frame.

>> Because of that in the end I tend to dodge it completely and roll some
>> shell script scaffolding that calls `curl`, as in the cmd-line client.
>>
>> See some hilarious things I had to do to link it properly:
>> https://github.com/blackwhale/tools/blob/master/posix.mak#L35
>
> Interesting. Never knew of the pattern syntax in there.

Me neither, must be some google-foo of mine.

>> Now if that doesn't set off the alarms. Win32/64 curl libraries are NOT
>> shipped with dmd zip or whatever. The better thing is that last time I
>> checked there is no proper which means that for Win32 one had to get the
>> rare OMF object file format (a custom compilation no less).
>
> Is that file needed if one does NOT use std.net.curl? Would it be a bear
> for us to distributed that particular file?

To build phobos - most likely yes. I think we must distribute it, no 
matter how much of LICENSE notices it takes.

>> You may or may not find them at the VARY BOTTOM of downloads page, and
>> figure it out how to fit them, what flags to use etc. Last but not least
>> it's Win32 only. No links for Win64.
>
> Which downloads page? Ours or others'?

http://dlang.org/download.html


>> All in all, it feels as if somebody actually wanted to sabotage the
>> thing, he could score an A+ job as it stands already.
>
> What I see above is it's in our power to fix
> https://d.puremagic.com/issues/show_bug.cgi?id=7044 and that would
> benefit not only curl but other libs as well.

Would be freaking amazing. Walter seemed surprisingly adamant on not 
fixing this (there was a pull I believe), I really have no idea what his 
the reservations are.



-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list