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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 26 11:40:10 PST 2013


On 11/26/13 11:23 AM, Dmitry Olshansky wrote:
> I find that if we actually worked on getting curl integrated better it
> may just as well be an all right network client lib.

Great.

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

> Now to my limited experience with it.
> When I work with it on Linux I have to always jump through hoops because
> of:
> https://d.puremagic.com/issues/show_bug.cgi?id=7044

Interesting, I ran into that too with ldc. That, fortunately, is fixable 
on our end.

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

> 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?

> 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'?

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



Andrei



More information about the Digitalmars-d mailing list