On 16/08/11 22.39, bearophile wrote:
jdrewsen:

etc.c.curl is already in phobos and no binary library for curl is in.

I see. I didn't know this. Then it's the good moment to improve this situation.


I disagree on this one though. But please see my reply to jonathan as to
how I see final solution.

Most times I'll not use a Phobos module that to be used requires the 
compilation of a multi-file C library. I use another language where this 
functionality is already present, like this one:
http://docs.python.org/library/httplib.html

If a decent package management tool was added to D which could handle downloading the binary lib for you then wouldn't that be an okey solition for you?

Accessing the web from the language today is a basic feature, and quite more 
commonly needed than as example complex numbers.

In Clojure even the Phobos equivalent of the File function loads from the web 
if you give it an URL instead  of a file path :-) Please help pushing D into 
this decade.

I agree that this functionality should be a standard part of phobos (ie. the 'std' package). It just has to be implemented in D and not just be a wrapper. The way I would like it is to initially get a reactor/proactor implemented into D and then on top of that a nice http/ftp/... client and server API.

Wrappers should be handled by a package manager in my opinion.

/Jonas

Bye,
bearophile

Reply via email to