Sean McArthur
seanmonstar.com · Personal blog · on HN since 2010
Sean McArthur, author of the Rust libraries hyper, warp, and reqwest, writes about Rust, HTTP, and async programming.
What HN saysHN links his async fn post and his HTTP library announcements. Commenters debate the tone of a critique of hyper's unsafe code.
31HN people shared it
4linked it in comments
39stories submitted
147story points
11 months agolast shared
2010people per year2026
Most-shared posts
- 1Was Async Fn a Mistake?4 people · 6 points · first shared 2023 · discussion on HN
- 22023 in Review3 people · 1 points · first shared 2024 · discussion on HN
- 3Warp: a web framework for Rust2 people · 10 points · first shared 2018 · discussion on HN
- 4Hyper v1: protective and efficient HTTP for all2 people · 6 points · first shared 2023 · discussion on HN
- 5Firefox accounts oauth explorations2 people · 2 points · first shared 2014 · discussion on HN
- 6A More Modular Reqwest2 people · 2 points · first shared 2025 · discussion on HN
- 7Pattern Matching and Backwards Compatibility in Rust2 people · 2 points · first shared 2022 · discussion on HN
- 8Intel - nodejs logging that plays nice with console.log1 people · 38 points · first shared 2013 · 21 comments on HN
- 9Hyper 0.14: A safe, reliable, fast HTTP library written in Rust1 people · 13 points · first shared 2020 · discussion on HN
- 10Console.log() all the things1 people · 10 points · first shared 2013 · 1 comments on HN
- 11Hyper in Curl Needs a Champion1 people · 9 points · first shared 2024 · discussion on HN
- 12Hyper's Vision1 people · 5 points · first shared 2022 · discussion on HN
- 13Help Stabilize Hyper in Curl1 people · 5 points · first shared 2022 · discussion on HN
- 14Nice Try, App.net1 people · 4 points · first shared 2012 · 1 comments on HN
- 15Hyper 1.0 Roadmap1 people · 4 points · first shared 2022 · discussion on HN
What HN people wrote when they linked it
lmm · 2024-01-26
> If the author wanted an explanation for a technical decision, they could open an issue and have a conversation like an adult.
Opening an issue comes across as a whole lot more aggressive to me. That implies that they owe you an explanation or you want them to change their code.
> They cry about the existence of some unsafe code, but don’t actually put in the effort to figure out if it can lead to a real problem like unsoundness.
unsafe might as well be unsound. The key benefit of Rust is supposed to be better memory safety than C; if everything is using unsafe, why bother?
> Here’s a post by the maintainer of hyper about what they accomplished in 2023 and what they hope to accomplish in 2024 - https://seanmonstar.com/blog/2023-in-review/
Ok, and that doesn't mention "unsafe" once - no justification for why it's used, much less a plan to reduce or eliminate it.
saurik · 2023-10-16
> Just so you're aware, C++ has three keywords here: co_async, co_await, and co_return...
This is admittedly an unimportant correction to what you said that doesn't in any way change your point; and yet, I still think it is an important one to keep in mind for people who only might end up with an indirect understanding of the C++ feature: C++ additionally chose to add a specialized co_yield... and specifically does not have co_async! This latter tradeoff then relates to the Rust discussions I have seen come up again recently due to the article "Was async fn a mistake?".
https://seanmonstar.com/post/66832922686/was-async-fn-a-mistake
https://news.ycombinator.com/item?id=37789057
https://old.reddit.com/16ugwuc/
kibwen · 2016-11-16
Speaking of HTTP clients, just yesterday the person behind Hyper announced their new high-level HTTP client crate: http://seanmonstar.com/post/153221119046/introducing-reqwest
nindalf · 2024-01-26
There’s a small message contained in that unnecessarily long post - that maybe a popular library used for HTTP in Rust could use less unsafe.
There was no need for this half mocking, half condescending tone. If the author wanted an explanation for a technical decision, they could open an issue and have a conversation like an adult. Instead we’re left with their speculation that leads nowhere. They cry about the existence of some unsafe code, but don’t actually put in the effort to figure out if it can lead to a real problem like unsoundness. And somehow the title implies that they’re saying something profound about the entire rust ecosystem when they just looked at one library. It’s just innuendo, as far as I could tell.
Here’s a post by the maintainer of hyper about what they accomplished in 2023 and what they hope to accomplish in 2024 - https://seanmonstar.com/blog/2023-in-review/
If this work interests you, or you depend on hyper in production like many companies do, then consider sponsoring them! Or maybe you could give back to the commons by submitting PRs that fix issues you’ve found. Or even a good bug report would be appreciated.
But not this kind of article. This article helps no one and does nothing constructive. We all benefit from the work that open source maintainers put in. They have it hard enough without having to read low effort posts trashing their work. Be better.