Skip to content

Commit 46fe31e

Browse files
committed
draft for 196
1 parent d52fcb8 commit 46fe31e

File tree

1 file changed

+210
-0
lines changed

1 file changed

+210
-0
lines changed
Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
Title: This Week in Rust 196
2+
Number: 196
3+
Date: 2017-08-22
4+
Category: This Week in Rust
5+
6+
Hello and welcome to another issue of *This Week in Rust*!
7+
[Rust](http://rust-lang.org) is a systems language pursuing the trifecta: safety, concurrency, and speed.
8+
This is a weekly summary of its progress and community.
9+
Want something mentioned? Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) or [send us a pull request](https://github.com/cmr/this-week-in-rust).
10+
Want to get involved? [We love contributions](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md).
11+
12+
*This Week in Rust* is openly developed [on GitHub](https://github.com/cmr/this-week-in-rust).
13+
If you find any errors in this week's issue, [please submit a PR](https://github.com/cmr/this-week-in-rust/pulls).
14+
15+
# Updates from Rust Community
16+
17+
## News & Blog Posts
18+
19+
* [Announcing Gotham - a flexible web framework that does not sacrifice safety, security or speed.](https://gotham.rs/blog).
20+
* [What the RLS can do for Rust support in IDEs](https://www.ncameron.org/blog/what-the-rls-can-do/).
21+
* [Optimizing Rust](https://blogs.gentoo.org/lu_zero/2017/08/12/optimizing-rust/).
22+
* [Rust for the web](https://thefullsnack.com/en/rust-for-the-web.html).
23+
* [Setting up a Rust environment on Windows](https://fungos.github.io/blog/2017/08/12/setting-up-a-rust-environment-on-windows/).
24+
* [Of boxes and trees - smart pointers in Rust](https://matthias-endler.de/2017/boxes-and-trees/).
25+
* [Rustls and Servo](https://simrangujral.github.io/Rustls&Servo).
26+
* [My experience contributing to Servo](http://brainlessdeveloper.com/2017/08/12/my-experience-contributing-to-servo/).
27+
* [Debugging a race condition in a release target](http://blog.boxofrox.me/2017/08/debugging-a-rust-release-build.html).
28+
* [Designing a channel](https://stjepang.github.io/2017/08/13/designing-a-channel.html).
29+
* [Types as contracts: Implementation and evaluation](https://www.ralfj.de/blog/2017/08/11/types-as-contracts-evaluation.html).
30+
* [Exposing a Rust library to C](http://greyblake.com/blog/2017/08/10/exposing-rust-library-to-c/).
31+
* [Think local, act local in Rust](https://llogiq.github.io/2017/08/14/local.html).
32+
* [Announcing Rusty Object Notation](https://kvark.github.io/format/data/json/2017/08/09/rusty-object-notation.html).
33+
* [Implementing a bot for Slack in Rust, Rocket and Anterofit - Part 2](https://abishov.com/2017/08/08/hexocat-bot-part-2.html).
34+
* [Evolution of a simple `du -s` clone](https://durka.github.io/blog/2017/08/06/du-evolution.html).
35+
* [REST calls made rustic: RS-ES in idiomatic Rust tutorial](https://qbox.io/blog/elasticsearch-rest-client-idiomatic-rust-tutorial).
36+
* [User-friendly Elasticsearch queries with Rust and Elastic](https://qbox.io/blog/user-friendly-elasticsearch-queries-with-rust-and-elastic).
37+
* [This week in Rust docs 68](https://guillaumegomez.github.io/this-week-in-rust-docs/blog/this-week-in-rust-docs-68).
38+
* [These weeks in dev-tools 1](https://www.ncameron.org/blog/these-weeks-in-dev-tools-issue-1/).
39+
* [This week in Redox 28](https://redox-os.org/news/this-week-in-redox-28/).
40+
41+
# Crate of the Week
42+
43+
This week's crate is [exa](https://the.exa.website), a modern `ls` replacement (with a `tree` thrown in as well) written in Rust. Thanks to [Vikrant](https://users.rust-lang.org/u/nasa42) for the suggestion.
44+
45+
[Submit your suggestions and votes for next week][submit_crate]!
46+
47+
[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704
48+
49+
# Call for Participation
50+
51+
Always wanted to contribute to open-source projects but didn't know where to start?
52+
Every week we highlight some tasks from the Rust community for you to pick and get started!
53+
54+
Some of these tasks may also have mentors available, visit the task page for more information.
55+
56+
* [Pleco.rs - a chess engine in Rust is looking for contributors](https://www.reddit.com/r/rust/comments/6tpc3b/lets_create_a_rustbased_chess_engine_a_call_for/).
57+
* [easy] [bindgen: Rename `TypeKind::Named` to `TypeKind::TypeParam`](https://github.com/rust-lang-nursery/rust-bindgen/issues/914).
58+
* [less easy] [bindgen: Emitting or deriving trait implementations](https://github.com/rust-lang-nursery/rust-bindgen/issues/886).
59+
* [less easy] [bindgen: Emit a "manual" implementation of Debug when it cannot be derived](https://github.com/rust-lang-nursery/rust-bindgen/issues/875).
60+
* [less easy] [bindgen: "manually" implement Hash when it cannot be derived](https://github.com/rust-lang-nursery/rust-bindgen/issues/877).
61+
* [less easy] [bindgen: "manually" implement PartialEq when it cannot be derived](https://github.com/rust-lang-nursery/rust-bindgen/issues/879).
62+
* [less easy] [bindgen: Derive `Eq` when possible](https://github.com/rust-lang-nursery/rust-bindgen/issues/880).
63+
* [less easy] [bindgen: "manually" implement Eq when we cannot derive it](https://github.com/rust-lang-nursery/rust-bindgen/issues/881).
64+
* [less easy] [bindgen: Derive PartialOrd when possible](https://github.com/rust-lang-nursery/rust-bindgen/issues/882).
65+
* [less easy] [bindgen: "manually" implement PartialOrd when we cannot derive it](https://github.com/rust-lang-nursery/rust-bindgen/issues/883).
66+
* [less easy] [bindgen: Derive Ord when possible](https://github.com/rust-lang-nursery/rust-bindgen/issues/884).
67+
* [less easy] [bindgen: "manually" implement Ord when we cannot derive it](https://github.com/rust-lang-nursery/rust-bindgen/issues/885).
68+
* [PumpkinDB: Rust nightly after 2017-06-20 affects benchmarks negatively](https://github.com/PumpkinDB/PumpkinDB/issues/345). ([Discuss here](https://gitter.im/PumpkinDB/Lobby)).
69+
* [wayland-window: Add control buttons](https://github.com/Smithay/wayland-window/issues/4).
70+
* [wayland-window: Make borders prettier](https://github.com/Smithay/wayland-window/issues/19).
71+
* [doc] [lyon: API guidelines: methods on collections that produce iterators follow the iter, iter_mut, into_iter conventions](https://github.com/nical/lyon/issues/86). Lyon is a GPU-based 2D graphics rendering engine in Rust.
72+
* [doc] [lyon: API guidelines: ad-hoc conversions follow as_, to_, into_ conventions](https://github.com/nical/lyon/issues/85).
73+
* [doc] [lyon: API guidelines: iterator type names should match the methods that produce them](https://github.com/nical/lyon/issues/87).
74+
* [medium] [lyon: Implement clipping line joins at the miter limit](https://github.com/nical/lyon/issues/35).
75+
* [easy] [ggez: Input doesn't work on mac using tmux and iterm2](https://github.com/ggez/ggez/issues/30). ggez is a Rust library to create good games easily.
76+
* [easy] [ggez: SDL controller input doesn't work](https://github.com/ggez/ggez/issues/35).
77+
* [doc] [ggez: Finish full building-and-install docs for each platform](https://github.com/ggez/ggez/issues/118).
78+
79+
If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines].
80+
81+
[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821
82+
83+
# Updates from Rust Core
84+
85+
128 pull requests were [merged in the last week][merged]
86+
87+
[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2017-08-07..2017-08-14
88+
89+
* [cleanup in preparation of no-LLVM build support](https://github.com/rust-lang/rust/pull/43842)
90+
* [`#[must_use]` for functions](https://github.com/rust-lang/rust/pull/43728)
91+
* [fix unused result lint triggering on functions returning `()`, `!` or empty enums](https://github.com/rust-lang/rust/pull/43813)
92+
* [rustc can now be built without jemalloc](https://github.com/rust-lang/rust/pull/43589)
93+
* [fixed the needless mut lint, found libcore bugs](https://github.com/rust-lang/rust/pull/43582)
94+
* [fixed `#[thread_local]` statics check](https://github.com/rust-lang/rust/pull/43746)
95+
* [fix `-Z hir-stats`](https://github.com/rust-lang/rust/pull/43824)
96+
* [fix region hashing](https://github.com/rust-lang/rust/pull/43743)
97+
* [nonlexical lifetimes region renumberer](https://github.com/rust-lang/rust/pull/43559) (one step closer to nonlexical lifetimes)
98+
* [rearchitect lints to be emitted more eagerly](https://github.com/rust-lang/rust/pull/43522) (broke clippy)
99+
* [`mem::unreachable`](https://github.com/rust-lang/rust/pull/43750) (the intrinsic, not the panic)
100+
* [make `for_all_relevant_impls` O(1) again](https://github.com/rust-lang/rust/pull/43723)
101+
* [add an overflow check to range's `Iter::next()` method](https://github.com/rust-lang/rust/pull/43595) (which turns out to make things faster)
102+
* [optimize allocation paths in `RawVec`](https://github.com/rust-lang/rust/pull/43815)
103+
* [improve error messages on duplicate type/method names](https://github.com/rust-lang/rust/pull/43737)
104+
* [better labeling of mismatched return type](https://github.com/rust-lang/rust/pull/43484)
105+
* [syntax hint for `extern C { .. }` errors](https://github.com/rust-lang/rust/pull/43720)
106+
* [Validation now works correctly on blocks with multiple incoming edges](https://github.com/rust-lang/rust/pull/43748)
107+
* [`break rust`](https://github.com/rust-lang/rust/pull/43745)
108+
* [the case of the missing error codes](https://github.com/rust-lang/rust/pull/43709)
109+
110+
## New Contributors
111+
112+
* Alexey Tarasov
113+
* arshiamufti
114+
* Foucher
115+
* Justin Browne
116+
* Natalie Boehm
117+
* nicole mazzuca
118+
* Owen Sanchez
119+
* Ryan Leckey
120+
* Tej Chajed
121+
* Thomas Levy
122+
123+
## Approved RFCs
124+
125+
Changes to Rust follow the Rust [RFC (request for comments)
126+
process](https://github.com/rust-lang/rfcs#rust-rfcs). These
127+
are the RFCs that were approved for implementation this week:
128+
129+
*No RFCs were approved this week.*
130+
131+
## Final Comment Period
132+
133+
Every week [the team](https://www.rust-lang.org/team.html) announces the
134+
'final comment period' for RFCs and key PRs which are reaching a
135+
decision. Express your opinions now. [This week's FCPs][fcp] are:
136+
137+
[fcp]: https://github.com/rust-lang/rfcs/labels/final-comment-period
138+
139+
* [disposition: merge] [Evolving Rust through checkpoints](https://github.com/rust-lang/rfcs/pull/2052).
140+
* [disposition: close] [Zero-Sized References](https://github.com/rust-lang/rfcs/pull/2040).
141+
* [disposition: merge] [Generic associated types (associated type constructors)](https://github.com/rust-lang/rfcs/pull/1598).
142+
* [disposition: close] [Allow use of pipe operator in patterns](https://github.com/rust-lang/rfcs/pull/1882).
143+
* [disposition: merge] [Allow an optional vert at the beginning of a match branch](https://github.com/rust-lang/rfcs/pull/1925).
144+
* [disposition: merge] [Unsafe pointer methods](https://github.com/rust-lang/rfcs/pull/1966).
145+
* [disposition: merge] [Amend RFC 1242 to require an RFC for deprecation of crates from the nursery](https://github.com/rust-lang/rfcs/pull/1983).
146+
* [disposition: merge] [Add external doc attribute to rustc](https://github.com/rust-lang/rfcs/pull/1990).
147+
* [disposition: close] [Match branch semicolon](https://github.com/rust-lang/rfcs/pull/1994).
148+
* [disposition: merge] [Future-proofing enums/structs with `#[non_exhaustive]` attribute](https://github.com/rust-lang/rfcs/pull/2008).
149+
* [disposition: merge] [Enable nested method calls](https://github.com/rust-lang/rfcs/pull/2025).
150+
151+
## New RFCs
152+
153+
* [Module redesign](https://github.com/rust-lang/rfcs/pull/2108).
154+
* [Ok wrapping: Improved support for writing code from an error handling mindset](https://github.com/rust-lang/rfcs/pull/2107).
155+
* [Introduce more potentially useful environment-related functions to `std::env`](https://github.com/rust-lang/rfcs/pull/2101).
156+
* [Unnamed fields of struct and union type](https://github.com/rust-lang/rfcs/pull/2102).
157+
* [Attributes for tools, 2.0](https://github.com/rust-lang/rfcs/pull/2103).
158+
* [Rand crate revision (pre-stabilisation)](https://github.com/rust-lang/rfcs/pull/2106). Evaluate options for the future of `rand` regarding both cryptographic and non-cryptographic uses.
159+
160+
## Style RFCs
161+
162+
[Style RFCs](https://github.com/rust-lang-nursery/fmt-rfcs) are part of the process for deciding on style guidelines for the Rust community and defaults for [Rustfmt](https://github.com/rust-lang-nursery/rustfmt). The process is similar to the RFC process, but we try to reach rough consensus on issues (including a final comment period) before progressing to PRs. Just like the RFC process, all users are welcome to comment and submit RFCs. If you want to help decide what Rust code should look like, come get involved!
163+
164+
The RFC style is now the default style in Rustfmt - try it out and let us know what you think!
165+
166+
Currently being discussed:
167+
168+
* [Define short](https://github.com/rust-lang-nursery/fmt-rfcs/issues/47)
169+
* [Special casing some macros](https://github.com/rust-lang-nursery/fmt-rfcs/issues/86)
170+
171+
# Upcoming Events
172+
173+
* **[Aug 18-19. RustConf 2017](http://rustconf.com/)**.
174+
* [Aug 19. Rust Bangalore - Rust "Traits" Workshop](https://www.meetup.com/rustox/events/240321748/).
175+
* [Aug 23. GOTO Night Berlin: Modern low level - Rust in 2017](https://www.meetup.com/GOTO-Nights-Berlin/events/241544422/).
176+
* [Aug 23. OpenTechSchool Berlin: Rust Hack and Learn](https://www.meetup.com/opentechschool-berlin/events/242277432/).
177+
* [Aug 23. Rust Community Team Meeting at #rust-community on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-community).
178+
* [Aug 23. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-docs).
179+
* [Aug 24. Rust release triage](https://internals.rust-lang.org/t/release-cycle-triage-proposal/3544).
180+
* [Aug 30. Rust Community Team Meeting at #rust-community on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-community).
181+
* [Aug 30. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-docs).
182+
* [Aug 31. Rust NYC - Come learn about Rust](https://www.meetup.com/Rust-NYC/events/241866546/).
183+
* [Aug 31. Rust London - Rust learning and hacking evening #2](https://www.meetup.com/Rust-London-User-Group/events/242378000/).
184+
* [Aug 31. Cambridge Rust Meetup - Rust Study Group](https://www.meetup.com/Cambridge-Rust-Meetup/events/242409356/).
185+
186+
If you are running a Rust event please add it to the [calendar] to get
187+
it mentioned here. Email the [Rust Community Team][community] for access.
188+
189+
[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com
190+
[community]: mailto:[email protected]
191+
192+
# Rust Jobs
193+
194+
*No jobs listed for this week.*
195+
196+
*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!*
197+
198+
# Quote of the Week
199+
200+
> once you can walk barefoot (C), it’s easy to learn to walk with shoes (go) but it will take time to learn to ride a bike (rust)
201+
202+
[/u/freakhill on Reddit](https://www.reddit.com/r/rust/comments/6srf8h/thoughts_from_a_dumb_person_notes_on_my_threeweek/dlf58jt/).
203+
204+
Thanks to [Rushmore](https://users.rust-lang.org/t/twir-quote-of-the-week/328/431) for the suggestion.
205+
206+
[Submit your quotes for next week][submit]!
207+
208+
[submit]: http://users.rust-lang.org/t/twir-quote-of-the-week/328
209+
210+
*This Week in Rust is edited by: [nasa42](https://github.com/nasa42), [llogiq](https://github.com/llogiq), and [brson](https://github.com/brson).*

0 commit comments

Comments
 (0)