4 ms·
> a new library that does the same things Most languages already have HTTP client libraries. (In particular, Rust has Hyper. Ruby/Python/Node/Go have HTTP clie
by floatboth 10y ago
> a new library that does the same things
Most languages already have HTTP client libraries. (In particular, Rust has Hyper. Ruby/Python/Node/Go have HTTP clients built-in in the stdlib, Haskell has http-client, etc.) Who uses libcurl really? (Spoiler alert… PHP.)
Of course libcurl does FTP and Gopher and all the things, but these aren't commonly required, most applications just need HTTPS.
- IshKebab 10y agoPeople that write C and often C++ use libcurl. A better library for C/C++ developers would be nice and I believe it could be written in Rust, although that would be a bit of a pain because then you need to integrate Rust into your build system.
- LeonidasXIV 10y agoDo you? For building C projects I certainly don't have to build libcurl, it comes packaged and ready to use with my distribution. The same could be the case with a hypothetical HTTP library written in Rust.
- floatboth 10y agoEr, I meant, "who uses libcurl when writing NOT in C/C++"
- bkanber 10y ago> Who uses libcurl really? Thousands upon thousands of projects rely on libcurl...
- geodel 10y agoAlso check Rust/Cargo source trees if they use `Curl` or Hyper.
- stusmall 10y agoCargo depends on curl right now.
- madphrodite 10y agoIgnorance is great. Stay in that place.
- sctb 10y agoNo personal attacks like this on HN, please. https://news.ycombinator.com/newswelcome.html https://news.ycombinator.com/newswelcome.html https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- madphrodite 10y agoSo? If you are ignorant be ignorant is an attack? And who are you? Jesus Christ?
- stusmall 10y agolibcurl is still heavily used even inside the rust community. Right now on crates.io the curl crate is sitting at about 220k downloads to Hyper's 925k. Sure, hyper has a lot more, but not to the level of "who uses libcurl really?"