News for hackers. Stuff that matters.
Re:I Could Rewrite Curl (2021) by tyingq on Monday March 20, 2023 @07:34AM (#35230077)
Or, with a dependency on libcurl :)

Also, it's not immediately obvious in the various libraries how to do something right. Most python/requests examples you'll find to do that simple "download a file", for example, would run out of memory on a large file.

Re:I Could Rewrite Curl (2021) by ddtaylor on Monday March 20, 2023 @07:47AM (#35230172)
AFAIK the "requests" module in python (the most popular one) doesn't actually depend on curl:

https://github.com/psf/requests

Re:I Could Rewrite Curl (2021) by tyingq on Monday March 20, 2023 @08:44AM (#35230684)
Ah, that's not what I was saying, should have worded it better. The statements were separate.