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

Highlight

Content warning: Suicide, Mental Health

The following post mourns the death of somebody in the Rust community. This is a very sensitive topic, and it's hard to truly do justice to the loss of human life. The most important thing we can do is to raise awareness surrounding mental health.

If you or somebody you know is in need of a suicide prevention hotline, please visit https://www.opencounseling.com/suicide-hotlines for emergency and suicide prevention hotline phone numbers in your country.

Open Source and Mental Health

Official

Newsletters

Project/Tooling Updates

Observations/Thoughts

Rust Walkthroughs

Research

Miscellaneous

Crate of the Week

This week has two crates: nativeshell gets you a Flutter app in Rust, while static-rc is a compile-time reference-counted smart pointer.

Thanks to Zicklag for both nominations

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

289 pull requests were merged in the last week

Rust Compiler Performance Triage

Some good improvements, and a few regressions. No large changes.

Triage done by @simulacrum. Revision range: 1160cf..a50d721

3 Regressions, 3 Improvements, 1 Mixed; 1 of them in rollups

Full report here.

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

Tweede golf

Paige

ChainSafe Systems

Gnosis

Braiins

NZXT

Kollider

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

Quote of the Week

If manually managing memory is like wielding a gun, the borrow checker is an automatic safety that prevents you from pulling the trigger when you're roughly pointing it at yourself. But it's coarse-grained and errs on the side of caution; it simulates your foot as as the rectangular box that would contain it, not as a detailed 3D mesh. If you really think you can aim it between your toes and avoid hitting yourself (for example, "the value returned by this function must remain alive for no more than 15 successive invocations of this function"), unsafe will let you try, but the borrow checker's built-in rules isn't granular enough to help you, though it will still stop you if you accidentally put your hand in front without declaring it.

infogulch on Hacker News

Thanks to StyMaar 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