NOTE: THIS BLOG IS RETIRED! See for new content.

This Week in Rust

Hello and welcome to the fourth issue of This Week in Rust, a weekly overview of Rust and its community.

0.7 is being cut soon (today, I think). There are preliminary release notes on GitHub. The tree has been quite calm, with regards to breakage. Cycle time is still high, but at least when things land they don’t break master.

What’s cooking on master?

Issue churn this week was -1. Yay! Issue churn this month was -47. 61 people pushed 1,080 commits, changing 2,117 files and adding a total of 53347 lines. The top 10 committers were pcwalton, brson, dbaupp, strcat, bblum, nmatsakis, acricto, Blei, me (cmr), and aatch.

Much of the work this week was cleanup or rebases of older PRs that just hadn’t made it in yet.

Notable additions, bugfixes, and cleanup

Breaking Changes

  • As usual, a bunch of iterator work.
  • pcwalton renamed Owned to Send and Const to Freeze, better reflecting their actual semantics.
  • He also disallowed mut from distributing over bindings. For example, the following code no longer works: let mut (a, b) = (c, d).
  • dbaupp converted many vector functions to methods. He has a second part in line.
  • Luqman renamed the finalize method in the Drop trait to drop.

Other changes

bblum did some trait/fn/closure bounds here and here, but I don’t really understand what they do or their significance. He said:

it changes the way traits/closures and captured data fulfill kind bounds, so
you can restrict or loosen the requirements instead of having the fixed
defaults of “can only capture Send things in ~fn/~Trait”

one example is that you can add the extra requirement of Freeze, so you can
put existential data inside of ARCs

is another, more complicated but less contrived, example for how they would be


The Tuesday meeting mainly discussed @mut and iterators, as well as some minor 0.7 releng stuff. I suggest reading the @mut discussion yourself, but essentially it revolves around it not quite fitting into the language, and that it could be easily punted to a library. The iterator discussion was not notable.

Discussion + Blog posts

External projects