Should "std.net.curl" be moved from Phobos to Deimos?
Dmitry Olshansky
dmitry.olsh at gmail.com
Tue Nov 26 11:23:48 PST 2013
26-Nov-2013 23:00, Andrei Alexandrescu пишет:
>> There may be other problems, but I think that those are the two bigs
>> ones, and
>> they've come up several times (particularly the issues with libcurl and
>> Windows).
>
> I've asked the question "what exactly is the problem" several times and
> you came closest to answering it, but a bunch of stuff is still unclear
> to me.
I thought I'd chime in on this.
I find that if we actually worked on getting curl integrated better it
may just as well be an all right network client lib.
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.
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
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
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).
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.
All in all, it feels as if somebody actually wanted to sabotage the
thing, he could score an A+ job as it stands already.
P.S. And before I forgot - there are specifics problems with curl Linux
distros that are not Debian derived and with shared phobos in
particular, but there are fokls that must known this side of coin better
then I.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list