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
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!
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.
- 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
- invoke
OptimizerLastEPCallbacks
inPreLinkThinLTO
- fix a leak in
DiagnosticBuilder::into_diagnostic
- 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
- stabilize
assoc_int_consts
associated int/float constants - add
Layout::dangling()
to return a well-alignedNonNull<u8>
- fix & test leak of some
BTreeMap
nodes on panic duringinto_iter
- hashbrown: add
HashMap::get_key_value_mut
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
No RFCs are currently in final comment period.
Tracking Issues & PRs
- [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
Copy
forIoSlice
.
New RFCs
No new RFCs were proposed this week.
Upcoming Events
Asia Pacific
Europe
- 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.
North America
- 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.
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
- 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!
Please submit quotes and vote for next week!