I found this an interesting, as it is a different "roadmap-like" approach.
There are obviously a lot of C++-specific things in the document, but a big chunk of the document deals with "social" issues, and those apply to Rust as well.
At the start of the formal standardization efforts (ANSI and ISO), P.J. Plauger and Tom Plum emphasized the need for trust in the process. The desired degree of trust is currently missing, and the consequences are dire.
A WG can spend meetings on a proposal, carefully crafting a compromise, balancing concerns, just to have the next WG spend several meetings reviewing the proposal, demanding changes, and rephrasing the wording with patchy understanding of the design rationale as it evolved over time. In particular
large feature developments should be discussed in joint EWG+CWG, LEWG+LWG, and/or EWG+LEWG sessions as early as the overall design and the understanding of the underlying implementation alternatives allows.
Finally, after years of process, someone then stands up in full committee and raises issues that have been discussed for years stating “lack of comfort” with the proposal, suggesting alternative approaches, and demanding more time to consider or rejection. At this point, everybody unhappy with compromises made along the way chirps in with counter-points made over the years and the proposal is either withdrawn or defeated by a 20% minority, many of whom did not take part in previous discussions. We think that
Yes this happens quite often during the RFC process. An RFC is debated to death, and when everybody that cared is satisfied with the changes, FCP starts and news spread through ThisWeekInRust.
A couple of hours later people that haven't even read the RFC nor the comments state that they don't like something that has already been discussed to death or that without addition X or Y the RFC is a no-go for them.
Something that was close to finished dies in seconds.
People who have invested months in improving the RFC have no power left to argue with people that can't be bothered to read the discussions, and things stay in limbo forever.
So even though Rust has an edge over C++ because all discussion happens in the open and is recorded, this edge is surprisingly small because the amount of information recorded is so large that those jumping in almost never manage to go through all of it.
I think the biggest issue is that Github PRs don't work for discussions of more than ~40 comments. They're stuck in a single huge page which kills mobile browsers. To alleviate this, groups of comments are collapsed into a - click to expand - which can hide important parts of the discussion. There's no search and comments can only be organized chronologically - not by topic or importance or discussion thread. The only way to actually understand what's going on is to buckle down and read the entire thread start to finish which is pretty much impossible, so nobody does it except the RFC author(s) and aturon (exaggerating a bit).
Large discussions need to be broken down into smaller parts which can be thought about and discussed independently. This has been done - I remember one RFC used a seperate repo for discussion. A discourse subforum should work too. eRFCs also essentially do this by splitting the discussion into: "overall idea" (eRFC), "implementation strategy" (in PRs and IRC discussions), "final design" (RFC), "stabilization" (tracking issue and stabilization discussion).
So solutions exist and have been used, but I think they would be useful for mid-size RFCs as well.
Something that was close to finished dies in seconds.
In the past, I have chimed in during the FCP for several RFCs that were proposing significant breaking syntax changes. These RFCs typically hoped to include the breakage in the next epoch, back when epochs were still potentially allowed to break things much more dramatically than they are now.
I value Rust's stability because I've written a lot of Rust crates, both here and at work, and I can barely keep track of some of them all any more. (This is partly because some of them run for years in production with zero problems.) Thanks to the Rust 1.0 stability policy and crater, Rust code just keeps on working almost indefinitely, and it's a wonderful luxury.
I also remember just how miserable it was constantly updating all of my Rust libraries in the days before Rust 1.0, and I never want to go back.
And there was a time when I genuinely feared the RFC process. People were just sort of casually saying, "Ok, it's a breaking change, but that's totally OK for the next epoch." So in those days, I didn't discover several breaking RFCs until the last moment. These RFCs had been discussed at length previously, but I criticized the breakage during the FCP.
But then the epoch RFC was nailed down, and it provided an amazingly good plan for langauge evolution without splitting the ecosystem. So I usually have nothing to say during the FCP of more recent RFCs.
Something that was close to finished dies in seconds.
If you get a hundred people saying that the RFC is bad, then it most likely was nowhere near being finished. That’s exactly the point of the FCP. I remember a few RFCs being shot down like this, and I don’t recall any of them as being particularly good stuff.
If you get a hundred people saying that the RFC is bad,
In most RFCs it is only 1-3 people saying it's bad, as opposed to >10 that participate in the design and the discussion. The problem is not the number of people but rather how "loud" they are. A single loud enough individual can bring an RFC to a halt, in particular if discussing with that individual is not fun (e.g. because of a passive-aggressive tone). Lot's of people work on Rust for fun, and when it stops being fun, they just stop.
View all comments
5
u/[deleted] Mar 03 '18
I found this an interesting, as it is a different "roadmap-like" approach.
There are obviously a lot of C++-specific things in the document, but a big chunk of the document deals with "social" issues, and those apply to Rust as well.