|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "Brainstorming Async Rust's Shiny Future" |
| 4 | +author: Niko Matsakis |
| 5 | +description: "Brainstorming Async Rust's Shiny Future" |
| 6 | +team: the Async Foundations Working Group <https://rust-lang.github.io/wg-async-foundations/> |
| 7 | +--- |
| 8 | + |
| 9 | +On March 18th, we [announced the start of the Async Vision Doc][announce] process. Since then, we've landed [24 "status quo" stories][sq] and we have [4 more stories in open PRs][prs]; [Ryan Levick] and [I] have also hosted more than ten collaborative writing sessions over the course of the last few weeks, and we have [more scheduled for this week][cws]. |
| 10 | + |
| 11 | +[cws]: https://smallcultfollowing.com/babysteps/blog/2021/04/12/async-vision-doc-writing-sessions-v/ |
| 12 | + |
| 13 | +Now that we have a good base of "status quo" stories, we are starting to imagine what the [✨ "shiny future" ✨][sf] might look like. **We want your help!** If you have a great idea for Async Rust[^youknow], then [take a look at the template and open a PR][template]! Alternatively, if you have an idea for a story but would like to discuss it before writing, you can [open a "shiny future" issue][open]. Also, we would still love to get more ["status quo" stories][sq], so please continue to share those. |
| 14 | + |
| 15 | +[^youknow]: Don't be modest. You know you do. |
| 16 | + |
| 17 | +When writing "shiny future" stories, the goal is to focus on the **experience** of Rust's users first and foremost, and not so much on the specific technical details. In fact, you don't even have to know exactly how the experience will be achieved. We have a few years to figure that out, after all. 🚀 |
| 18 | + |
| 19 | +Every "shiny future" story is a "retelling" of one or more "status quo" stories. The idea is to replay the same scenario but hopefully with a happier ending, as a result of the improvements we've made. If you don't see a "status quo" story that is right for telling your "shiny future" story, though, that's no problem! Write up your story and we'll figure out the "status quo" story it addresses. There is always the option of writing a new "status quo" story, too; we are still requesting "status quo" and "shiny future" stories, and we will do so right up until the end. |
| 20 | + |
| 21 | +If you'd like to see what a "shiny future" story looks like, we have merged one example, [Barbara Makes a Wish](https://rust-lang.github.io/wg-async-foundations/vision/shiny_future/barbara_makes_a_wish.html). This story describes Barbara's experiences using a nifty new tool that gives her lots of information about the state of her async executor. It is a "retelling" of the "status quo" story [Barbara Wants Async Insights](https://rust-lang.github.io/wg-async-foundations/vision/status_quo/barbara_wants_async_insights.html). |
| 22 | + |
| 23 | +#### What is the async vision doc and how does it work? |
| 24 | + |
| 25 | +Here is the idea in a nutshell: |
| 26 | + |
| 27 | +> We are launching a collaborative effort to build a shared [vision document][vd] for Async Rust. **Our goal is to engage the entire community in a collective act of the imagination:** how can we make the end-to-end experience of using Async I/O not only a pragmatic choice, but a _joyful_ one? |
| 28 | +
|
| 29 | +As described in the [original announcement][announce], the [vision document][vd] is structured as a series of "status quo" and "shiny future" stories. Each story describes the experiences of one or more of our four [characters] as they go about achieving their goals using Async Rust. |
| 30 | + |
| 31 | +The "status quo" stories describe the experiences that users have today. They are an amalgamation of the real experiences of people using Async Rust, as reported to us by interviews, blog posts, and tweets. The goal with these stories is to help us understand and gauge the cumulative impact that problems can have on our users. |
| 32 | + |
| 33 | +The "shiny future" stories describe those some characters achieving those same goals, but looking forward a few years into the future. They are meant to illustrate the experience we are aiming towards, and to give the overall context for the RFCs and other kinds of changes we want to pursue. |
| 34 | + |
| 35 | +### The brainstorming period and what comes next |
| 36 | + |
| 37 | +We are currently in the midst of the [brainstorming period][bp]. This means that we are seeking to collect as many stories -- both about the "status quo" and the "shiny future" -- as we can. The brainstorming period lasts until the end of April. After that, the [working group leads] are going to merge the remaining stories and get to work drafting a synthesized vision document that incorporates elements of the various stories that have been submitted. |
| 38 | + |
| 39 | +Going forward, we plan to revisit the vision document regularly. We fully expect that some aspects of the "shiny future" stories we write are going to be wrong, sometimes very wrong. We will be regularly returning to the vision document to check how things are going and adjust our trajectory appropriately. |
| 40 | + |
| 41 | +### This sounds cool, how can I get involved? |
| 42 | + |
| 43 | +If you'd like to help, we'd love to have you! If you've got an idea for a story, then feel free to create a PR to the wg-async-foundations repository based on one of the following templates: |
| 44 | + |
| 45 | +* [Template for "status quo" stories][sqtemplate] |
| 46 | +* [Template for "shiny future" stories][template] |
| 47 | + |
| 48 | + |
| 49 | +If you'd like a bit more inspiration, then you can join [Ryan Levick] and [I] at one of our vision doc writing sessions. We have [more sessions scheduled this week][cws] and you can look for announcements from us on twitter or check the `#wg-async-foundations` stream on [the rust-lang Zulip][z]. |
| 50 | +[vd]: https://rust-lang.github.io/wg-async-foundations/vision.html#-the-vision |
| 51 | +[sq]: https://rust-lang.github.io/wg-async-foundations/vision/status_quo.html |
| 52 | +[sf]: https://rust-lang.github.io/wg-async-foundations/vision/shiny_future.html |
| 53 | +[sq]: https://rust-lang.github.io/wg-async-foundations/vision/status_quo.html |
| 54 | +[prs]: https://github.com/rust-lang/wg-async-foundations/pulls |
| 55 | +[announce]: https://blog.rust-lang.org/2021/03/18/async-vision-doc.html |
| 56 | +[bp]: https://rust-lang.github.io/wg-async-foundations/vision/how_to_vision.html#brainstorming |
| 57 | +[template]: https://rust-lang.github.io/wg-async-foundations/vision/shiny_future/template.html |
| 58 | +[sqtemplate]: https://rust-lang.github.io/wg-async-foundations/vision/status_quo/template.html |
| 59 | +[open]: https://github.com/rust-lang/wg-async-foundations/issues/new/choose |
| 60 | +[ws]: https://smallcultfollowing.com/babysteps/blog/2021/03/29/async-vision-doc-writing-sessions-iii/ |
| 61 | +[design docs]: https://rust-lang.github.io/wg-async-foundations/design_docs.html |
| 62 | +[I]: https://twitter.com/nikomatsakis/ |
| 63 | +[Ryan Levick]: https://twitter.com/ryan_levick/ |
| 64 | +[How to Vision]: https://rust-lang.github.io/wg-async-foundations/vision/how_to_vision.html |
| 65 | +[babysteps blog]: https://smallcultfollowing.com/babysteps/ |
| 66 | +[characters]: https://rust-lang.github.io/wg-async-foundations/vision/characters.html |
| 67 | +[cok]: https://en.wikipedia.org/wiki/Curse_of_knowledge |
| 68 | +[z]: https://rust-lang.zulipchat.com/ |
| 69 | +[working group leads]: https://rust-lang.github.io/wg-async-foundations/#leads |
0 commit comments