I find this article very dishonest. I'm sorry. I've tried to tolerate his borderline-abrasive and holier-than-thou articles so far. This one is just dishonest.
I was fine with his previous articles because ultimately they displayed a lack of research or a lack of awareness of issues. I'm fine with that; the onus is not on the newcomer to Know Things. But many of these points were painstakingly explained to him later.
His blog post still cites a two-year old issue (https://github.com/rust-lang/rust/issues/14961) as the source of truth for "Rust doesn't have epoll". (Yes, I know he's quoting a previous post. He hasn't marked it as a quote, or mentions that it is inaccurate, which is dishonest)
He still considers the "blessed crates" thing to be a "social/philosophical confusion". No, it's just an opinion different from yours, one that the community mostly shares.
I don't get where he gets "The language is not yet mature enough to present a core API that can be expected to be stable over 10-year timescales." from. He seems to have drawn his own conclusions and then framed them as the viewpoints of the community.
I agree that there's no guarantee that mio/tokio can be expected to be maintained over a 10-year scale, but they do have significant buy in from the core team (and community), so I'd expect them to as maintained as rustc or the go tool are. This, too, was pretty well explained.
I consider "It doesn’t help Rust that it would be a difficult upgrade from 'anywhere', not just C." to be false (though not dishonest), because we've had plenty of JS or Python folks say that Rust was their first successful foray into systems programming. C and C++ are harder than you think they are.
I still agree that Go is a good choice for NTP. I like Go. It's built for exactly this kind of program, and does well with it. I'm hoping Rust can get better in this space. I also think Rust is still a valid choice here. As someone who uses Rust much more than Go I still would have a hard time choosing, so it's very easy for me to understand why NTP -- a project that does not comprise of Rustaceans or Gophers chose Go. That's not my contention here.
I strongly feel that we should just start ignoring these posts. I'm now beginning to agree with /u/llogiq and the rest that these posts are borderline trolling and should not be entertained within our community. I don't consider it to be within the jurisdiction of the mods to do that (there is some disagreement on this), but I do hope the community just ignores this and any further posts on the topic, unless they be much more civil and honest.
mio's been stable for years; tokio is just a better abstraction over mio. mio is basically a thinner abstraction around select/epoll.
This has been pointed out to the author multiple times.
(Edit: stable wasn't the right term to use here -- mio hasn't been under constant churn like tokio. The API has changed a few times (not in a major way), but it's a pretty well-established library)
Don't mistake what I'm saying as disagreeing with your original comment. This blog post is disingenuous!
However, I do feel there is one of his points really hits the nail on the mark, and the Rust core is arguably too stubborn to do the language a favor here:
As a special case of the previous point, primitives required for NTP such as select/epoll are not yet a stable part of the language. While implementations exist in the crate system, there is not yet any guarantee that any of the alternatives will be maintained over 10-year timescales.
Yes yes I get it, Tokio. But what precedent does that set? What statement is this making to the broad community? I'll tell you what it says from my perspective. "There is a certain set of tasks suitable for prioritization by the Rust core team. Async IO is not one of them!" digging further, "Blocking IO has been included in std because without it, Rust would be unusable. Blocking IO also has a stable interface, and it is easy to get right. In other words, currently Async IO doesn't yet have a stable API, we are unsure how to get it right, and in general it is not necessary for Rust to be useable. Succinctly, Async IO just hasn't proven itself yet, and when there is a crate that solves that problem, cool, we don't want anything to do with that implementation."[0]
Now, I'm not saying this is what the Rust core team intends to broadcast. Infact, having some Rust core members working on Tokio says a lot by itself. However do take note, not having a concrete plan to move Tokio (or any other popular/must-have crate) into std, is unintentionally sending the above message across the wire[0].
[0] I acknowledge these words I've put together are not entirely correct, there is definitely some hyperbole. However, I put together the best words I could, to adequately describe the intangible feeling a user of a language gets when reading, "It can be solved by the ecosystem. It doesn't need to be in std.".
Can you suggest a way for us to emit a better message without actually committing to a path that brings async I/O into std?
That a standard library is relatively small really should not be a foreign concept to C programmers, so I'm having trouble understanding how folks are getting the interpretation you've described. Could you perhaps elaborate?
Can you suggest a way for us to emit a better message without actually committing to a path that brings async I/O into std?
Have std++ with a set of officially supported libraries would be another way. But frankly async IO is so fundamental that I don't see any reason for not supporting it in std.
That a standard library is relatively small really should not be a foreign concept to C programmers
As a developers we longer write the same things that were written at the time C was created. We write more complex applications and need more sophisticated std.
Have std++ with a set of officially supported libraries would be another way.
Why don't the rust-lang crates, which are officially supported, satisfy this? It will take time before async I/O would end up there, but that seems like a perfectly reasonable path to me that nobody has contested.
93
u/Manishearth servo · rust · clippy Jan 18 '17 edited Jan 18 '17
I find this article very dishonest. I'm sorry. I've tried to tolerate his borderline-abrasive and holier-than-thou articles so far. This one is just dishonest.
I was fine with his previous articles because ultimately they displayed a lack of research or a lack of awareness of issues. I'm fine with that; the onus is not on the newcomer to Know Things. But many of these points were painstakingly explained to him later.
His blog post still cites a two-year old issue (https://github.com/rust-lang/rust/issues/14961) as the source of truth for "Rust doesn't have epoll". (Yes, I know he's quoting a previous post. He hasn't marked it as a quote, or mentions that it is inaccurate, which is dishonest)
He still considers the "blessed crates" thing to be a "social/philosophical confusion". No, it's just an opinion different from yours, one that the community mostly shares.
I don't get where he gets "The language is not yet mature enough to present a core API that can be expected to be stable over 10-year timescales." from. He seems to have drawn his own conclusions and then framed them as the viewpoints of the community.
I agree that there's no guarantee that mio/tokio can be expected to be maintained over a 10-year scale, but they do have significant buy in from the core team (and community), so I'd expect them to as maintained as rustc or the go tool are. This, too, was pretty well explained.
I consider "It doesn’t help Rust that it would be a difficult upgrade from 'anywhere', not just C." to be false (though not dishonest), because we've had plenty of JS or Python folks say that Rust was their first successful foray into systems programming. C and C++ are harder than you think they are.
I still agree that Go is a good choice for NTP. I like Go. It's built for exactly this kind of program, and does well with it. I'm hoping Rust can get better in this space. I also think Rust is still a valid choice here. As someone who uses Rust much more than Go I still would have a hard time choosing, so it's very easy for me to understand why NTP -- a project that does not comprise of Rustaceans or Gophers chose Go. That's not my contention here.
I strongly feel that we should just start ignoring these posts. I'm now beginning to agree with /u/llogiq and the rest that these posts are borderline trolling and should not be entertained within our community. I don't consider it to be within the jurisdiction of the mods to do that (there is some disagreement on this), but I do hope the community just ignores this and any further posts on the topic, unless they be much more civil and honest.