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
- 🎈🎉 Announcing Rust 1.36.0. 🎉🎈
- Async-await status report #2.
- Writing an OS in Rust: Updates in June 2019.
- Method for emulating higher-kinded types in Rust.
- Speedy desktop apps with GTK and Rust.
- Build a decentralized chat using JavaScript & Rust (WebAssembly).
- Safer, simpler embedded Rust with Apache Mynewt.
Crate of the Week
This week's CotW is not a crate but Rustexp site, a Rust regular expression editor & tester. Thanks to carols10cents 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.
- js_int: wasm_bindgen support. js_int is JavaScript-interoperable integer types for Rust.
- js_int: Add a feature that adds a kind method to ParseIntError.
- js_int: Implement
std::iter::Sum
forInt
,UInt
.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
237 pull requests were merged in the last week
- Stabilize support for Profile-guided Optimization (Hooray!)
- Break out of the correct number of scopes in loops
- Improve error span for async type inference error
- Remove
hir::ExprKind::While
- Generalize impl trait to permit multiple lifetime bounds
- Support stability and deprecation checking for all macros
- Implement
Option::contains
andResult::contains
- implement
Iterator::last
viaDoubleEndedIterator::next_back
for some libcore types - Add
Vec::leak
- Implement
mem::
{zeroed
,uninitialized
} in terms ofMaybeUninit
nth_back
forchunks_exact
- Only call the closure parameter of
Iterator::is_sorted_by_key
once per item
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] Tracking issue for the
cast
method of raw pointers. - [disposition: merge] Stabilize todo macro.
- [disposition: merge] Add
impl<T> FromIterator<T> for Arc/Rc<[T]>
.
New RFCs
Upcoming Events
Asia Pacific
Europe
- Jun 17. Munich, DE - Rust Munich - Rust Mini Unconference V2.
- Jul 18. Turin, IT - Mozilla Torino - Gruppo di studio Rust.
- Jul 24. Berlin, DE - OpenTechSchool Berlin - Rust Hack and Learn.
North America
- Jul 11. Columbus, OH, US - Columbus Rust Society - Monthly Meeting.
- Jul 11. San Diego, CA, US - San Diego Rust July Meetup.
- Jul 17. San Francisco, CA, US - Rust in Blockchain San Francisco - In Rust We Trust.
- Jul 17. Portland, OR, US - PDXRust - PDX Rust Hack Night (not the usual meetup).
- Jul 24. Mexico City, MX - Rust MX - Reunión Julio: Rust y Big data.
- Jun 24. Durham, NC, US - Triangle Rustaceans - Project Night & Lightning Talks.
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
- Backend Engineer at Bitski, San Francisco, US.
- Blockchain Runtime Engineer at Parity, Berlin, DE or remote.
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
Are we trying to steal the JVM’s “compile once run everywhere” concept?
No, we just borrow it mutably.
Thanks to Will Page for the suggestion!
Please submit quotes and vote for next week!
This Week in Rust is edited by: nasa42, llogiq, and Flavsditz.