this post was submitted on 31 Dec 2024
90 points (100.0% liked)
Programming
17762 readers
493 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's almost 30 years old. Not to knock cURL, it's a staple for sure.
HTTPie and
xh
claim to have a more intuitive UX. If the functionality is comparable, I choose tools written in memory-safe languages by default.If being over 30 is "not modern", OK, sure, but that's a bit subjective.
The fuctionality is hardly comparable, cURL supports many protocols. As for memory safety it's trendy and modern but it hardly makes sense to rewrite such a project in a memory-safe language. It's been tried though (for some components) and the project lead's open to that.
https://daniel.haxx.se/docs/curl-vs-httpie.html
Httpie and xh only have a small subset of curl's functionality, and IMO the claims of more intuitive UX is dubious at best. More magical and limiting is what I would say. Httpie in particular is slow as hell, too.
Daniel has a more thorough comparison of features across different alternatives here: https://curl.se/docs/comparison-table.html