|
| 1 | +Title: This Week in Rust 425 |
| 2 | +Number: 425 |
| 3 | +Date: 2022-01-12 |
| 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 programming language empowering everyone to build reliable and efficient software. |
| 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/rust-lang/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/rust-lang/this-week-in-rust). |
| 13 | +If you find any errors in this week's issue, [please submit a PR](https://github.com/rust-lang/this-week-in-rust/pulls). |
| 14 | + |
| 15 | +## Updates from Rust Community |
| 16 | + |
| 17 | +### Newsletters |
| 18 | + |
| 19 | +### Project/Tooling Updates |
| 20 | + |
| 21 | +### Observations/Thoughts |
| 22 | + |
| 23 | +### Rust Walkthroughs |
| 24 | + |
| 25 | +### Miscellaneous |
| 26 | + |
| 27 | +## Crate of the Week |
| 28 | + |
| 29 | +This week's crate is [fltk-rs](https://crates.io/crates/fltk), a crate with bindings to the [FLTK](https://github.com/fltk/fltk) GUI toolkit. |
| 30 | + |
| 31 | +Thanks to [Mark Summerfield](https://users.rust-lang.org/t/crate-of-the-week/2704/999) for the suggestion! |
| 32 | + |
| 33 | +[Please submit your suggestions and votes for next week][submit_crate]! |
| 34 | + |
| 35 | +[submit_crate]: https://users.rust-lang.org/t/crate-of-the-week/2704 |
| 36 | + |
| 37 | +## Call for Participation |
| 38 | + |
| 39 | +Always wanted to contribute to open-source projects but didn't know where to start? |
| 40 | +Every week we highlight some tasks from the Rust community for you to pick and get started! |
| 41 | + |
| 42 | +Some of these tasks may also have mentors available, visit the task page for more information. |
| 43 | + |
| 44 | +If you are a Rust project owner and are looking for contributors, please submit tasks [here][guidelines]. |
| 45 | + |
| 46 | +[guidelines]: https://users.rust-lang.org/t/twir-call-for-participation/4821 |
| 47 | + |
| 48 | +## Updates from the Rust Project |
| 49 | + |
| 50 | +230 pull requests were [merged in the last week][merged] |
| 51 | + |
| 52 | +[merged]: https://github.com/search?q=is%3Apr+org%3Arust-lang+is%3Amerged+merged%3A2021-12-27..2022-01-03 |
| 53 | + |
| 54 | +* [allow loading LLVM plugins with both legacy and new pass manager](https://github.com/rust-lang/rust/pull/91125) |
| 55 | +* [suggest `while let x = y` when encountering `while x = y`](https://github.com/rust-lang/rust/pull/92402) |
| 56 | +* [refactor variance diagnostics to work with more types](https://github.com/rust-lang/rust/pull/89336) |
| 57 | +* [extend check for `UnsafeCell` in consts to cover unions](https://github.com/rust-lang/rust/pull/90383) |
| 58 | +* [parse and suggest moving where clauses after equals for type aliases](https://github.com/rust-lang/rust/pull/92118) |
| 59 | +* [relax `priv-in-pub` lint on generic bounds and where clauses of trait impls](https://github.com/rust-lang/rust/pull/90586) |
| 60 | +* [perf: store liveness in interval sets for region inference](https://github.com/rust-lang/rust/pull/90637) |
| 61 | +* [add `try_reserve` and `try_reserve_exact` for `OsString`](https://github.com/rust-lang/rust/pull/92338) |
| 62 | +* [support `\[x; n\]` expressions in `concat_bytes!`](https://github.com/rust-lang/rust/pull/92066) |
| 63 | +* [std-simd: impl `std::simd::StdFloat`](https://github.com/rust-lang/portable-simd/pull/219) |
| 64 | +* [rustdoc: use `ThinVec` for `GenericArgs` bindings](https://github.com/rust-lang/rust/pull/92395) |
| 65 | +* [clippy: extend `unused_io_amount` to cover async io](https://github.com/rust-lang/rust-clippy/pull/8179) |
| 66 | +* [clippy: fix `enum_variants` false positive on prefixes that are not camel-case](https://github.com/rust-lang/rust-clippy/pull/8127) |
| 67 | +* [clippy: fixed issues with `to_radians` and `to_degrees` lints](https://github.com/rust-lang/rust-clippy/pull/8187) |
| 68 | +* [clippy: limit the `identity_op` lint to integral operands](https://github.com/rust-lang/rust-clippy/pull/8183) |
| 69 | +* [clippy: `erasing_op` lint ignored when operation `Output` type is different from the type of constant `0`](https://github.com/rust-lang/rust-clippy/pull/8204) |
| 70 | +* [clippy: perf: cache test item names](https://github.com/rust-lang/rust-clippy/pull/8182) |
| 71 | +* [clippy: fix `redundant_closure` fp with `Rc<F>`/`Arc<F>`](https://github.com/rust-lang/rust-clippy/pull/8193) |
| 72 | +* [clippy: `wrong_self_convention`: match `SelfKind::No` more restrictively](https://github.com/rust-lang/rust-clippy/pull/8208) |
| 73 | +* [rustfmt: do not flatten match arm block with leading attributes](https://github.com/rust-lang/rustfmt/pull/5158) |
| 74 | +* [rustfmt: improve out of line module resolution](https://github.com/rust-lang/rustfmt/pull/5142) |
| 75 | +* [rustfmt: support parsing of asm! args](https://github.com/rust-lang/rustfmt/pull/5156) |
| 76 | + |
| 77 | +### Rust Compiler Performance Triage |
| 78 | + |
| 79 | +It was a relatively calm, but good week overall. Most of the gains were improvements to rustdoc running times. |
| 80 | + |
| 81 | +Triage done by **@pnkfelix**. |
| 82 | +Revision range: [e91ad5..2b681a](https://perf.rust-lang.org/?start=e91ad5fc62bdee4a29c18baa5fad2ca42fc91bf4&end=2b681ac06b1a6b7ea39525e59363ffee0d1a68e5&absolute=false&stat=instructions%3Au) |
| 83 | + |
| 84 | +1 Regressions, 6 Improvements, 1 Mixed; 0 of them in rollups |
| 85 | +38 comparisons made in total |
| 86 | + |
| 87 | +[Full report here](https://github.com/rust-lang/rustc-perf/blob/master/triage/2022-01-04.md) |
| 88 | + |
| 89 | +### [Approved RFCs](https://github.com/rust-lang/rfcs/commits/master) |
| 90 | + |
| 91 | +Changes to Rust follow the Rust [RFC (request for comments) process](https://github.com/rust-lang/rfcs#rust-rfcs). These |
| 92 | +are the RFCs that were approved for implementation this week: |
| 93 | + |
| 94 | +* [Amend RFC 3107 to change feature name, fix grammatical error](https://github.com/rust-lang/rfcs/pull/3212) |
| 95 | + |
| 96 | +### Final Comment Period |
| 97 | + |
| 98 | +Every week [the team](https://www.rust-lang.org/team.html) announces the |
| 99 | +'final comment period' for RFCs and key PRs which are reaching a |
| 100 | +decision. Express your opinions now. |
| 101 | + |
| 102 | +#### [RFCs](https://github.com/rust-lang/rfcs/labels/final-comment-period) |
| 103 | + |
| 104 | +* *No new RFCs entered Final Comment Period this week.* |
| 105 | + |
| 106 | +#### [Tracking Issues & PRs](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Afinal-comment-period+sort%3Aupdated-desc) |
| 107 | + |
| 108 | +* [disposition: merge] [Tracking issue for Box::into_pin (feature box_into_pin)](https://github.com/rust-lang/rust/issues/62370) |
| 109 | +* [disposition: merge] [make Instant::{duration_since, elapsed, sub} saturating and remove workarounds](https://github.com/rust-lang/rust/pull/89926) |
| 110 | + |
| 111 | +### [New RFCs](https://github.com/rust-lang/rfcs/pulls) |
| 112 | + |
| 113 | +* *No new RFCs were published this week.* |
| 114 | + |
| 115 | +## Upcoming Events |
| 116 | + |
| 117 | +Rusty Events between 1/5/2022 - 2/2/2022 🦀 |
| 118 | + |
| 119 | +### Online |
| 120 | + |
| 121 | +* [January 5, 2022 | Indianapolis, IN, US | **Indy.rs - with Social Distancing** | Indy Rust](https://www.meetup.com/indyrs/events/qwtdjsydccbhb/) |
| 122 | +* [January 6, 2022 | Cardiff, UK | **Rust Book Study Session - Automated Tests & Building a Command Line Program** | Rust and C++ Cardiff](https://www.meetup.com/rust-and-c-plus-plus-in-cardiff/events/282667031/) |
| 123 | +* [January 6, 2022 | Nürnberg, DE | **Rust Nürnberg online #8**| Rust Nuremberg](https://www.meetup.com/rust-noris/events/282344613/) |
| 124 | +* [January 8, 2022 | Various cities | **Rust GameDev Monthly Meetup** | Rust GameDev](https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com) |
| 125 | +* [January 11, 2022 | Dallas, TX, US | **Second Tuesday Meetup**| Dallas Rust](https://www.meetup.com/Dallas-Rust/events/vqtjcsydccbpb/) |
| 126 | +* [January 11, 2022 | Los Gatos, CA, US | **Book #24 - Rust for Rustaceans - Chapter 2** | Los Gatos Reading Group](https://www.meetup.com/Los-Gatos-Rust-Reading-Group/events/282813296) |
| 127 | +* [January 11, 2022 | Seattle, WA, US | **Monthly meetup** | Seattle Rust Meetup](https://www.meetup.com/Seattle-Rust-Meetup/events/gskksrydccbpb/) |
| 128 | +* [January 12, 2022 | Boulder, CO, US | **Monthly Meetup** | Boulder Elixir and Rust](https://www.meetup.com/boulder-elixir-rust/events/zvxcsrydccbqb/) |
| 129 | +* [January 12, 2022 | Frankfurt, DE | **Rust for bare-metal embedded systems** | Developing Embedded Systems in Rhein-Main](https://www.meetup.com/Developing-Embedded-Systems-in-Rhein-Main/events/282321009) |
| 130 | +* [January 12, 2022 | Los Angeles, CA, US | **Live Coding Session - Mob Programming a Rust Code Kata [Virtual] Jan. 2022** | Rust Los Angeles](https://www.meetup.com/Rust-Los-Angeles/events/282580016/) |
| 131 | +* [January 12, 2022 | Stuttgart, DE | **Rust-Meetup** | Rust Community Stuttgart](https://www.meetup.com/Rust-Community-Stuttgart/events/gjrtqsydccbqb/) |
| 132 | +* [January 13, 2022 | Charlottesville, VA, US | **Higher kinded polymorphism** | Charlottesville Rust Meetup](https://www.meetup.com/Charlottesville-Rust-Meetup/events/282990814) |
| 133 | +* [January 13, 2022 | Minneapolis, MN, US | **Safe Systems Programming in Rust: The Promise and the Challenge** | Software Engineering Reading Group](https://www.meetup.com/meetup-group-bxuhnetv/events/282770888) |
| 134 | +* [January 13, 2022 | San Diego, CA, US | **San Diego Rust Rust January 2022 Tele-Meetup** | San Diego Rust](https://www.meetup.com/San-Diego-Rust/events/283032744) |
| 135 | +* [January 13, 2022 | Warsaw, PL | **Rust Warsaw #4** | Rust Warsaw](https://www.meetup.com/pl-PL/Rust-Warsaw/events/282879405/) |
| 136 | +* [January 18, 2022 | Washington, DC, US| **Mid-month Rustful** | Rust DC](https://www.meetup.com/RustDC/events/vdhxgsydccbxb/) |
| 137 | +* [January 19, 2022 | Vancouver, BC, CA | **Rust Study/Hack/Hang-out night** | Vancouver Rust](https://www.meetup.com/Vancouver-Rust/events/nwcmpsydccbzb) |
| 138 | +* [January 25, 2022 | Dallas, TX, US | **Last Tuesday Meetup** | Dallas Rust](https://www.meetup.com/Dallas-Rust/events/jqxqwrydccbhc/) |
| 139 | +* [January 27, 2022 | Stuttgart, DE | **Rust-Meetup** | Rust Community Stuttgart](https://www.meetup.com/Rust-Community-Stuttgart/events/282545254) |
| 140 | +* [February 1, 2022 | Buffalo, NY, US | **First Tuesdays: Buffalo Rust User Group** | Buffalo Rust Meetup](https://www.meetup.com/Buffalo-Rust-Meetup/events/283011769) |
| 141 | + |
| 142 | +### North America |
| 143 | + |
| 144 | +* [January 6, 2022 | Austin, TX, US | **Rust Lunch** | Rust ATX](https://www.meetup.com/rust-atx/events/282756864/) |
| 145 | +* [January 12, 2022 | Atlanta, GA, US | **Grab a beer with fellow Rustaceans** | Rust Atlanta](https://www.meetup.com/Rust-ATL/events/lhpkmsydccbqb/) |
| 146 | +* [January 13, 2022 | Columbus, OH, US | **Monthly Meeting** | Columbus Rust Society](https://www.meetup.com/columbus-rs/events/dpkhgrydccbrb/) |
| 147 | + |
| 148 | + |
| 149 | +If you are running a Rust event please add it to the [calendar] to get |
| 150 | +it mentioned here. Please remember to add a link to the event too. |
| 151 | +Email the [Rust Community Team][community] for access. |
| 152 | + |
| 153 | +[calendar]: https://www.google.com/calendar/embed?src=apd9vmbc22egenmtu5l6c5jbfc%40group.calendar.google.com |
| 154 | +[community]: mailto:[email protected] |
| 155 | + |
| 156 | +# Rust Jobs |
| 157 | + |
| 158 | +*Tweet us at [@ThisWeekInRust](https://twitter.com/ThisWeekInRust) to get your job offers listed here!* |
| 159 | + |
| 160 | +# Quote of the Week |
| 161 | + |
| 162 | +> I performed an extremely scientific poll on twitter, and determined this is not how it's pronounced |
| 163 | +> |
| 164 | +> ---- |
| 165 | +> |
| 166 | +> Well, it really is Vec<T, A>, pronounced Veck-tah. 😛 |
| 167 | +> |
| 168 | +> ---- |
| 169 | +> |
| 170 | +> Look, I moved away from Boston to avoid this sort of thing 😄. |
| 171 | +
|
| 172 | +– [the8472 & Thom Chiovoloni on github](https://github.com/rust-lang/rust/pull/92463#discussion_r777059401) |
| 173 | + |
| 174 | +Thanks to [Josh Triplett](https://users.rust-lang.org/t/twir-quote-of-the-week/328/1159) for the suggestion! |
| 175 | + |
| 176 | +[Please submit quotes and vote for next week!](https://users.rust-lang.org/t/twir-quote-of-the-week/328) |
| 177 | + |
| 178 | +*This Week in Rust is edited by: [nellshamrell](https://github.com/nellshamrell), [llogiq](https://github.com/llogiq), [cdmistman](https://github.com/cdmistman), [ericseppanen](https://github.com/ericseppanen), [extrawurst](https://github.com/extrawurst), [andrewpollack](https://github.com/andrewpollack), [U007D](https://github.com/U007D), [kolharsam](https://github.com/kolharsam), [joelmarcey](https://github.com/joelmarcey), [mariannegoldin](https://github.com/mariannegoldin).* |
| 179 | + |
| 180 | +*Email list hosting is sponsored by [The Rust Foundation](https://foundation.rust-lang.org/)* |
| 181 | + |
| 182 | +<small>[Discuss on r/rust](https://www.reddit.com/r/rust/comments/k5nsab/this_week_in_rust_367/)</small> |
0 commit comments