Skip to content

Commit 1c4ab90

Browse files
authored
Merge pull request #27 from blitzerr/master
rfc-2229 working group template creation
2 parents a512255 + a454a82 commit 1c4ab90

File tree

4 files changed

+61
-0
lines changed

4 files changed

+61
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Name | Leads
6262
[RLS 2.0](working-groups/rls-2.0/) | [@matklad][matklad] | Experimenting with a new compiler architecture tailored for IDEs | February 2019 | Active | [#t-compiler/wg-rls2.0][rls20_stream] | N/A | N/A |
6363
[Parallel-rustc](working-groups/parallel-rustc/) | [@Zoxc][Zoxc] and [@michaelwoerister][michaelwoerister] | Making parallel compilation the default for rustc | February 2019 | Active | [#t-compiler/wg-parallel-rustc][parallel-rustc_stream] | N/A | A-parallel-queries |
6464
[Profile-Guided Optimization](working-groups/pgo/) | [@michaelwoerister][michaelwoerister] | Implementing profile-guided optimization for rustc | February 2019 | Active | [#t-compiler/wg-profile-guided-optimization][pgo_stream] | N/A | N/A |
65+
[rfc-2229](working-groups/rfc-2229/) | [@blitzerr][blitzerr] and [@nikomatsakis][nikomatsakis] | Make a closure capture individual fields of the variable rather than the entire composite variable | March 2019 | Active | [#t-compiler/wg-rfc-2229][rfc-2229-stream] | N/A | N/A |
6566

6667
[nikomatsakis]: https://github.com/nikomatsakis
6768
[cramertj]: https://github.com/cramertj
@@ -73,6 +74,7 @@ Name | Leads
7374
[michaelwoerister]: https://github.com/michaelwoerister
7475
[nagisa]: https://github.com/nagisa
7576
[Zoxc]: https://github.com/Zoxc
77+
[blitzerr]: https://github.com/blitzerr
7678

7779
[Weekly, in Zulip]: #meeting-calendar
7880
[nll_stream]: https://rust-lang.zulipchat.com/#narrow/stream/122657-t-compiler.2Fwg-nll
@@ -83,6 +85,7 @@ Name | Leads
8385
[self-profile_stream]: https://rust-lang.zulipchat.com/#narrow/stream/187831-t-compiler.2Fwg-self-profile
8486
[pgo_stream]: https://rust-lang.zulipchat.com/#narrow/stream/187830-t-compiler.2Fwg-profile-guided-optimization
8587
[parallel-rustc_stream]: https://rust-lang.zulipchat.com/#narrow/stream/187679-t-compiler.2Fwg-parallel-rustc
88+
[rfc-2229-stream]: https://rust-lang.zulipchat.com/#narrow/stream/189812-t-compiler.2Fwg-rfc-2229
8689

8790

8891
## Procedures

working-groups/rfc-2229/FAQ.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Frequently Asked Questions (FAQ)
2+
3+
Looks like no questions have been asked yet! If you have a question, feel free to file an issue or
4+
ask in the working group's Zulip stream.

working-groups/rfc-2229/NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Meeting Notes
2+
Video recording of some of our earlier meetings
3+
- https://www.youtube.com/watch?v=fMopdkn5-Xw
4+
- https://www.youtube.com/watch?v=pLmVhSB-z4s
5+
- https://www.youtube.com/watch?v=2QCuNtISoYc

working-groups/rfc-2229/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# rfc-2229 Working Group
2+
![working group status: active][status]
3+
4+
- **Leads:** [@blitzerr][Blitzerr], [@nikomatsakis][Niko]
5+
- **Meeting Notes:** [NOTES]
6+
- **FAQs:** [All](FAQ.md)
7+
8+
## What is the goal of this working group?
9+
This working group aims to accomplish the following:
10+
11+
- Finish, optimize, and test the implementation of [RFC-2229].
12+
RFC 2229 changes the way closure-capture works so that we no longer capture
13+
entire individual variables, instead capture the actual path to fields of the
14+
variable, that is used. This helps to eliminate borrow check errors.
15+
- Produce documentation of how the closures in Rust are implemented in the
16+
[rustc-guide] along the way. Currently, the rustc guide does not have a
17+
section on closures. We would like to change it.
18+
19+
20+
# How can I get involved?
21+
If you are interested in getting involved in this working group, you are welcome to
22+
introduce yourself in the Zulip stream. You can be added to the GitHub and Zulip
23+
group for the working group if you are interested in being pinged when there are available tasks.
24+
25+
- **Desired experience level:** Any
26+
- **Relevant repositories:** [`rust-lang/rust`][repo]
27+
- **Zulip stream:** [`#t-compiler/wg-rfc-2229`][zulip] on Zulip
28+
29+
## Can I contribute in ways other than code ?
30+
Definitely, you can. If you would like to have a deep understanding of closures
31+
but don't intend to write any code, help us add a section to the [rustc-guide].
32+
One way to do that will be to watch the videos listed in the [NOTES] and
33+
summarizing them in a new closure section of the rustc-guide.
34+
35+
## Are there any resources so I can get up to speed?
36+
Please look at the meeting [NOTES] for some excellent overview on the topic by [Niko]
37+
38+
# Roadmap
39+
The project roadmap can be found [here][roadmap].
40+
41+
[Niko]: https://github.com/nikomatsakis
42+
[Blitzerr]: https://github.com/blitzerr
43+
[rustc-guide]: https://rust-lang.github.io/rustc-guide/
44+
[repo]: https://github.com/rust-lang/rust
45+
[zulip]: https://rust-lang.zulipchat.com/#narrow/stream/189812-t-compiler.2Fwg-rfc-2229
46+
[RFC-2229]: https://github.com/rust-lang/rfcs/blob/master/text/2229-capture-disjoint-fields.md
47+
[NOTES]: [All](NOTES.md)
48+
[status]: https://img.shields.io/badge/status-active-brightgreen.svg?style=for-the-badge
49+
[roadmap]: https://paper.dropbox.com/doc/RFC-2229-Roadmap--AYuUod8hbXrktRttb95fprjHAg-cJKrePDCZR54T5kVbuoQk

0 commit comments

Comments
 (0)