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.
Updates from Rust Community
News & Blog Posts
- An alternative to the builder pattern, init struct pattern.
- Bottlerocket, a new Linux-based OS, uses Rust for almost all new components.
- Parsing Library in Rust pt. 1.
- Yes, I am still learning Rust.
- I have just made my first open source contribution to rust-analyzer.
- Nannou update - WebGPU, capturing frames and more.
- A C# programmer examines Rust - Part 1.
- My exploration of Rust and .NET.
- cfg(doctest) is stable and you should use it.
- ExpressJS vs Actix-Web: performance and running cost comparison.
- rust-analyzer changelog 15.
- This month in Rust gamedev 7 - February 2020.
- The 2020 RustConf CFP is Now Open.
Crate of the Week
This week's crates is plotly, a plotly.js-backed plotting library.
Thanks to Ioannis Giagkiozis for the suggestion!
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.
- offst: Add Android builds to CI. Offst is a decentralized payment system.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
302 pull requests were merged in the last week
- permit attributes on 'if' expressions
- const limit for CTFE
- fix a leak in
- when encountering an Item in a pat context, point at the item def
- improve linking of crates with circular dependencies
- mir-interpret: add method to read wide strings from memory
assoc_int_constsassociated int/float constants
Layout::dangling()to return a well-aligned
- fix & test leak of some
BTreeMapnodes on panic during
- hashbrown: add
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.
No RFCs are currently in final comment period.
- [disposition: merge] Amend Rc/Arc::from_raw() docs regarding unsafety.
- [disposition: merge]
is_x86_feature_detected!("avx512f")fails to build on nightly.
- [disposition: merge] Implement
No new RFCs were proposed this week.
- Mar 19. Warsaw, PL - Rust Warsaw 4.
- Mar 19. Berlin, DE - OpenTechSchool Berlin - Rust Hack and Learn.
- Mar 26. Edinburgh, GB - Rust Edinburgh - Rust Meetup Short Talk Night.
- Mar 18. Vancouver, BC, CA - Vancouver Rust - Rust Study/Hack/Hang-out night.
- Mar 19. Montreal, QC, CA - Rust Montréal - RustMTL March 2020.
- Mar 23. Durham, NC, US - Triangle Rustaceans - Project Night & Lightning Talks.
- Mar 25. Portland, OR, US - PDXRust - PDX Rust Hack Night.
- Mar 25. Houston, TX, US - Houston Linux Users Group - Rust Study Group.
- Mar 25. Ann Arbor, MI, US - Ann Arbor Rust Meetup - Monthly Gathering.
- Mar 31. Dallas, TX, US - Dallas Rust - Last Tuesday.
- Infrastructure Engineer at Aleph Alpha, Heidelberg, Germany.
- Kopernikus Automotive GmbH is looking for Rust Developers.
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
I have no idea how to debug Rust, because in 2 years of Rust, I haven't had that type of low level bug.
Thanks to zrk for the suggestions!