Re:Unsafe at Any Speed: Tradeoffs and Values in the Rust Eco...
by worik on Friday January 26, 2024 @02:42AM
(#39139842)
I got a lot out of it too.
I have been using Rust, casually, for about eight years.
Sometimes in Rust it is hard to find simple things that solve simple problems.
Re:Unsafe at Any Speed: Tradeoffs and Values in the Rust Eco...
by nindalf on Friday January 26, 2024 @03:10AM
(#39139992)
The author put the absolute bare minimum of effort into this article. He condescendingly points out that hyper uses patterns and code that could be pulled from stdlib.
If he had had a conversation with the maintainer he could have found out and told us. Turns out he asked after writing this. Hyper was written before those pieces were added to the stdlib. Changing it would simplify the codebase, but there’s always a risk of breaking a mature, battle tested codebase. See how this new information completely changes the tone of the article?
Anyway, the crate is being actively maintained. It’s possible the author will look into making these improvements at some point. Until then the entire community can continue to benefit from a battle tested, performant, secure http lib.
That is a very rude dismissal, followed by a bad faith implication of the author's motivations. You can do better.
I got something worthwhile out of it. I'm learning Rust and, like the author of the blog post, tend to value safety (simplicity hopefully being a contributor to that) over that last bit of performance. I was actually looking over the source of some of the libraries I'm considering using, am concerned about some things I found, didn't know about ureq, now I do, and I think it's going to fit my needs.
Thanks, mrkline!