This Week in Rust - This Week in Rust 345

Email isn't displaying correctly?
This Week in RustThis Week in Rust
issue 345 — 30 JUN 2020

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.

Check out this week's This Week in Rust Podcast

Updates from Rust Community

News & Blog Posts

Crate of the Week

This week's crate is print_bytes, a library to print arbitrary bytes to a stream as losslessly as possible.

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

339 pull requests were merged in the last week

Rust Compiler Performance Triage

  • 2020-06-30. Three regressions, two of them on rollups; two improvements, one on a rollup.

Approved RFCs

Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation 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

North America

Asia Pacific

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

References are a sharp tool and there are roughly three different approaches to sharp tools.

  1. Don't give programmers sharp tools. They may make mistakes and cut their fingers off. This is the Java/Python/Perl/Ruby/PHP... approach.
  2. Give programmers all the sharp tools they want. They are professionals and if they cut their fingers off it's their own fault. This is the C/C++ approach.
  3. Give programmers sharp tools, but put guards on them so they can't accidentally cut their fingers off. This is Rust's approach.

Lifetime annotations are a safety guard on references. Rust's references have no sychronization and no reference counting -- that's what makes them sharp. References in category-1 languages (which typically do have synchronization and reference counting) are "blunted": they're not really quite as effective as category-2 and -3 references, but they don't cut you, and they still work; they might just slow you down a bit.

So, frankly, I like lifetime annotations because they prevent me from cutting my fingers off.

trentj on rust-users

Thanks to Ivan Tham for the suggestions!

Please submit quotes and vote for next week!

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

Discuss on r/rust

Older messages

This Week in Rust 344 REVISED

Thursday, June 25, 2020

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 344 — 23 JUN 2020 Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing

This Week in Rust 343

Wednesday, June 17, 2020

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 343 — 16 JUN 2020 Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing

This Week in Rust 341

Thursday, June 4, 2020

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 341 — 02 JUN 2020 Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing

This Week in Rust 340

Thursday, May 28, 2020

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 340 — 27 MAY 2020 Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing

This Week in Rust 339

Wednesday, May 20, 2020

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 339 — 19 MAY 2020 Hello and welcome to another issue of This Week in Rust! Rust is a systems language pursuing

You Might Also Like

This Week's Daily Tip Roundup

Sunday, March 9, 2025

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is

The Sequence Radar #506: Honor to Whom Honor is Due: AI Won the Nobel Prize of Computing

Sunday, March 9, 2025

Some of the pioneers in reinforcement learning received the top award in computer science. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🔌 7 Great Uses for Smart Plugs — Be Careful When Checking Your Phone in Public

Sunday, March 9, 2025

Also: How to Optimize Windows 11 for Older PCs, and More! How-To Geek Logo March 9, 2025 Did You Know There are several collective nouns used to refer to a group of butterflies, including—arranged in

Laravel 12.1, Laravel Auto CRUD, Svelte Starter Kit, and more! - №554

Sunday, March 9, 2025

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #449

Sunday, March 9, 2025

ISSUE #449 9th of March 2025 Articles Building & Deploying a simple KMP app — Part 1: App icons Guide by Robert Munro to setting up app icons for a Kotlin Multiplatform app, including tools,

Everything To Everyone 📱

Sunday, March 9, 2025

When tech giants aim outside of their core competencies. Here's a version for your browser. Hunting for the end of the long tail • March 8, 2025 Everything To Everyone Companies like Amazon and

Weekend Reading — The Agentic AI revolution

Saturday, March 8, 2025

Street Art Utopia “Darth Fisher sculpture by Frankey for Amsterdam Light Festival in Amsterdam, The Netherlands. Photos by Janus van den Eijnden.” Tech Stuff Claude Code overview The Agentic AI

Daily Coding Problem: Problem #1712 [Easy]

Saturday, March 8, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given the root of a binary search tree, and a target K , return two nodes in the

⚙️ AI agents are failing the compliance industry

Saturday, March 8, 2025

March 08, 2025 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Delve. 2025 is the year of AI agents. While

Ranked | The World's Best-Selling Cars From 2024 🚗

Saturday, March 8, 2025

Which vehicles are dominating global sales? See our latest graphic ranking the world's best-selling cars from 2024. View Online | Subscribe | Download Our App See new charts from hundreds of