News for hackers. Stuff that matters.
Re:“I Could Rewrite Curl” by skrebbel on Thursday May 20, 2021 @09:07AM (#27220602)
I think there's more truth to this comment than your presentation suggests.

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.

Re:“I Could Rewrite Curl” by tuyguntn on Thursday May 20, 2021 @09:23AM (#27220774)
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).
Re:“I Could Rewrite Curl” by tuyguntn on Thursday May 20, 2021 @11:27AM (#27222396)
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
Re:“I Could Rewrite Curl” by skrebbel on Friday May 21, 2021 @03:49AM (#27231501)
PHP uses libcurl for http requests.
Re:“I Could Rewrite Curl” by IshKebab on Thursday May 20, 2021 @10:20AM (#27221417)
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.