Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing the trifecta: safety, concurrency, and speed. This is a weekly summary of its progress and community. Want something mentioned? Tweet us at @ThisWeekInRust or send us a pull request. Want to get involved? We love contributions.

This Week in Rust is openly developed on GitHub. If you find any errors in this week's issue, please submit a PR.

Updates from Rust Community

Official

Newsletters

Tooling

Observations/Thoughts

Learn Simple Rust

Learn More Rust

Project Updates

Miscellaneous

Call for Blog Posts

The Rust Core Team wants input from the community! If you haven't already, read the official blog and submit a blog post - it will show up here! Here are the wonderful submissions since the call for blog posts:

Crate of the Week

This week's crate is uniffi, a unified ffi binding generator for Rust.

Thanks to mark-i-m for the suggestion!

Submit your suggestions and votes for next week!

Call for Participation

Always wanted to contribute to open-source projects but didn't know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!

Some of these tasks may also have mentors available, visit the task page for more information.

If you are a Rust project owner and are looking for contributors, please submit tasks here.

Updates from Rust Core

427 pull requests were merged in the last week

Rust Compiler Performance Triage

  • 2020-10-05: 1 Regressions, 2 Improvements, 1 Mixed

A quiet week. One rather large regression on a synthetic benchmark and a few small improvements.

#77023 is an interesting case. It encoded an invariant about slice lengths as an assume intrinsic inside len function. It seems to have caused a small compile-time slowdown, but there was no improvement in check build performance (a proxy for generated code quality). In fact, the LLVM documentation specifically advises against overuse of the assume intrinsic in cases where the invariant is unlikely to be of much help to the optimizer. That seems to be the case here.

See the full report for more.

Approved RFCs

Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:

No RFCs were approved this week.

Final Comment Period

Every week the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.

RFCs

Tracking Issues & PRs

New RFCs

Upcoming Events

Online

If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.

Rust Jobs

Tweet us at @ThisWeekInRust to get your job offers listed here!

Quote of the Week

[...] clippy is for people who find a certain emptiness inside when they finally get code through the compiler.😉

  • Unknown person answering the Rust survey

Thanks to blonk for the suggestion!

Please submit quotes and vote for next week!

This Week in Rust is edited by: nellshamrell, llogiq, and cdmistman.

Discuss on r/rust