4 ms·
I would probably write it from scratch to avoid bringing in a big dependency which requires a FFI to use it just for a simple protocol like HTTP. What languages
by shawnz 5y ago
I would probably write it from scratch to avoid bringing in a big dependency which requires a FFI to use it just for a simple protocol like HTTP. What languages use libcurl in their idiomatic HTTP library? As far as I can see, only Rust uses it in the standard library (EDIT: actually it doesn't). Go has its own HTTP implementation.
- busterarm 5y agohttps://everything.curl.dev/bindings https://everything.curl.dev/bindings In many cases on this list the listed library is a popular option.
- steveklabnik 5y agoWhere does Rust use libcurl in the standard library? I didn't think it did, but it's very possible I'm wrong.
- shawnz 5y agoMy mistake, I just quickly googled it and misinterpreted some documents I saw. In fact it doesn't
- steveklabnik 5y agoIt's all good! We certainly rely on it in other ways, like the build system and such. libcurl is so ubiquitous I would have totally believed that we somehow developed a dependency on it.