exactly, my point was, some people think they can build it in a day, because they see their favorite library already supports sending HTTP, they might not be aware that some of those libraries are wrappers around cURL library
Re:“I Could Rewrite Curl”
by oooooooooooow on Thursday May 20, 2021 @09:46AM
(#27221035)
Seen this comment a lot in the thread, I'd like to know which libraries do. Google didn't help (as usual nowadays).
http://pycurl.io/
PycURL is a Python interface to libcurl.
Re:“I Could Rewrite Curl”
by oooooooooooow on Thursday May 20, 2021 @06:44PM
(#27228383)
I was hoping to see less obvious examples, and especially standard libraries
PHP uses libcurl for http requests.
In 99.99% of cases it is a CLI tool to make HTTP requests.
The people saying they could rewrite it are really saying "I could rewrite Curl (using an an existing HTTP library) so that 99.99% of the use cases work" which is probably true.
I bet at least a subset of people who think they could reimplement curl easily, think of curl as a CLI tool to make HTTP requests. It's just a little bit of python/requests or node/fetch code to cover some basics for that. I think these people simply aren't aware that their programming language's built-in libraries often call in to libcurl for the dirty work.