Hacker News new | ask | show | jobs
by benecollyridam 2079 days ago
> Hyper is a fast and safe HTTP implementation Well.. Hyper does rely on unsafe blocks (14 at first glance[2]), so I don't know if we can just assume that it's safe. When Sergey Davidoff did their big smoke test of popular Rust HTTP implementations they found a couple of bugs[1] (through Reqwest).

I love the idea of a safer cURL, but I don't think you should take this as a magical answer to all of cURL's problems.

[1]https://web.archive.org/web/20200506212152/https://medium.co... [2] I ran `grep -oR unsafe . | wc -l` after cloning the repo

1 comments

> I don't think you should take this as a magical answer to all of cURL's problems.

Is anyone actually suggesting this?

Well kinda but people are saying that it is memory safe, which is not a guarantee with unsafe code.