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
Blog Posts
- Associated type constructors, part 1: basic concepts and introduction.
- Associated type constructors, part 2: family traits.
- Associated type constructors, part 3: What higher-kinded types might look like.
- Rust and Vala.
- Rust and GObject.
- Actually using Iron.
- Falling for Rust. Why Clever Cloud is betting on Rust for the future.
- Cross-platform development on Windows is suddenly awesome. Using Rust on WSL (Windows Subsystem for Linux).
- Rust performance testing on Travis CI.
- Introducing a Rust actor library.
News & Project Updates
- Refactoring std for ultimate portability.
- Crates.io expiry postmortem (2016-11-07).
- Rust and GNOME meeting notes.
- 2016 Rust Commercial User Survey results.
- rustup 0.6.5 is released with new build of curl that fixes security issues.
Other Weeklies from Rust Community
- This week in Rust docs 29. Updates from the Rust documentation team.
- These weeks in Servo 82. Servo is a prototype web browser engine written in Rust.
- This week in Ruru 4. Ruru lets you write native Ruby extensions in Rust.
- What's coming up in imag 19. imag is a text based personal information management suite.
- This week in TiKV 2016-11-07. TiKV is a distributed Key-Value database.
- PlanetKit week 3: hexagons! PlanetKit generates colorful blobs that might one day resemble planets. (Week 1 introduces PlanetKit and week 2 is about creating basic terrain).
New Crates
- Rust Prehistory. A reconstructed repository of Rust development by the man himself when it was a personal project between 2006 & late 2009.
- just – Just a command runner.
Crate of the Week
No crate was selected for CotW.
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.
- [easy] git-series: Highlight trailing whitespace.
- [easy] git-series: Support rebase --exec.
- [easy] servo: Make parse functions implement from Parse trait in style.
If you are a Rust project owner and are looking for contributors, please submit tasks here.
Updates from Rust Core
140 pull requests were merged in the last week.
- Cargo: Use a single profile set per workspace.
- rustc: Add knowledge of Windows subsystems.
- Replace all uses of SHA-256 with BLAKE2b.
- Rust download: Recommend MSVC ABI.
- Cargo: Ignore
panic
configuration for test/bench profiles. - Add or and or_else for ordering.
- rustbuild: support MIPS host builds.
- Add
-Z hir-stats
for collecting statistics on HIR and AST. - Shrink
hir::Expr
slightly. - rustbuild: Rewrite user-facing interface.
- Cargo: Expose rustc cfg values to build scripts.
- Don't reuse RandomState seeds.
- Add
.wrapping_offset()
methods. - Reduce the number of bytes hashed by IchHasher.
- Add impls for
&Wrapping
. AlsoSum
,Product
impls for bothWrapping
and&Wrapping
. - Prevent exhaustive matching of Ordering to allow for future extension.
- Add Iterator trait TrustedLen to enable better FromIterator / Extend.
- Add
unwrap_or_default
method toResult
. - Implement
RefUnwindSafe
for atomic types. - Detect extra region requirements in impls.
- Add conversions from
io:ErrorKind
toio::Error
. - Optimize ObligationForest's NodeState handling.
- hashmap: Store hashes as usize internally.
New Contributors
- Dmitry Gritsay
- leonardo.yvens
- Marcin Fatyga
- Martin Glagla
- Matwey V. Kornilov
- pweyck
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. This week's FCPs are:
New RFCs
Style RFCs
Style RFCs are part of the process for deciding on style guidelines for the Rust community and defaults for Rustfmt. The process is similar to the RFC process, but we try to reach rough consensus on issues (including a final comment period) before progressing to PRs. Just like the RFC process, all users are welcome to comment and submit RFCs. If you want to help decide what Rust code should look like, come get involved!
PRs:
Ready for PR:
Final comment period:
Upcoming Events
- 11/9. Rust Boulder/Denver Monthly Meeting.
- 11/10. Columbus Rust Society.
- 11/14. Seattle Rust Meetup.
- 11/15. Rust Philippines: Introduction to Rust Programming Language.
- 11/16. Rust User Group Cologne - Open Source Audio Meetup.
- 11/16. London Rust meetup #10.
- 11/16. Rust LA Monthly Meetup - Hack Night.
- 11/16. Rust Community Team Meeting at #rust-community on irc.mozilla.org.
- 11/16. Rust Documentation Team Meeting at #rust-docs on irc.mozilla.org.
- 11/19 - 11/20. ./novemb.rs Code Sprint.
- 11/19 - 11/20. Rust Cologne - Weekend Special: Novemb.rs Code Sprint sponsored by Mozilla.
- 11/19 - 11/20. L'événement du Logiciel Libre à Toulouse.
If you are running a Rust event please add it to the calendar to get it mentioned here. Email the Rust Community Team for access.
fn work(on: RustProject) -> Money
Tweet us at @ThisWeekInRust to get your job offers listed here!
Quote of the Week
I want to paint you a picture of a utopia in which Rust has expanded to become the fabric of the entire classical computing world, where the possibilities of what we can achieve are not shackled to the decaying dreams of computer science past. In this perfect utopia you have invented the perfect model for managing your computer's sci-fi hardware, perfectly free from the legacy of Unix and Windows. And you need the perfect language to write it in. Everywhere you look is legacy: C, C++, Java; the stacks get bigger and bigger, cruft all the way down.
The only shining light is Rust. Those Rustaceans have been chipping away the cruft, distilling their platform to only the essence of bits and bytes, while also expanding its expressive power toward legendary elegance. Rust doesn't want to tell you how to build your system. Rust wants to serve you, to fulfill your dreams, on your terms. For your ambitions, Rust is the only reasonable choice in a world filled with compromises.
— brson on Refactoring std for ultimate portability.
Thanks to Japaric for the suggestion.