boats.gitlab.io
I’m really excited to share with you an experiment that I’ve been working on for the past 5 or 6 weeks. It’s a Rust library called shifgrethor. shifgrethor implements a garbage collector in Rust with an API I believe to be properly memory s...
News & Blog Posts
2018-10-23
~5 min read
boats.gitlab.io
A few months ago we introduced the concept of “pinned” references - pointers which “pin” the data they refer to in a particular memory location, guaranteeing that it will never move again. These are an important building block for certain p...
News & Blog Posts
2018-08-28
~4 min read
boats.gitlab.io
Recently, I wrote a little a side project to sign git commits without gpg. When I did this, I decided to use the Rust 2018 edition. I also transitioned an existing library from Rust 2015 to Rust 2018 to see how that tooling worked. I though...
News & Blog Posts
2018-07-31
~6 min read
boats.gitlab.io
Async/await continues to move along swimmingly. We’ve accepted an RFC describing how the async/await syntax will work in Rust, and work is underway on implementing support for it in the compiler. We’re hopeful that users will be able to sta...
News & Blog Posts
2018-06-05
~3 min read
boats.gitlab.io
Last time, we introduced the idea of async methods, and talked about how they would be implemented: as a kind of anonymous associated type on the trait that declares the method, which corresponds to a different, anonymous future type for ea...
News & Blog Posts
2018-06-05
~4 min read
boats.gitlab.io
I’m really excited to announce the culmination of much of our work over the last four months: a pair of RFCs for supporting async & await notation in Rust. This will be very impactful for Rust in the network services space. The change is pr...
News & Blog Posts
2018-04-10
~4 min read
boats.gitlab.io
It’s hard to believe its been almost 6 weeks since the last post I made about async/await in Rust. So much has happened that these last several weeks have flown by. We’ve made exceptionally good progress on solving the problem laid out in t...
News & Blog Posts
2018-03-27
~4 min read
boats.gitlab.io
I did not plan to write this blog post. I thought that the fourth post in my series would explain how we could go from the generator API in my previous post to a futures API in which you don’t have to heap allocate every async call. But edd...
News & Blog Posts
2018-02-13
~5 min read
boats.gitlab.io
Two posts ago I proposed a particular interface for shipping self-referential generators this year. Immediately after that, eddyb showed me a better interface, which I described in the next post. Now, to tie everything together, its time to...
News & Blog Posts
2018-02-13
~5 min read
boats.gitlab.io
Last time we talked about the broader problem that generators with references across yield points represent: self-referential structs. This time, I want to narrow in on the specific problem that needs to be solved to make generators work, a...
News & Blog Posts
2018-02-06
~9 min read
boats.gitlab.io
In the first post, we looked at the relationship between generators and a more general notion of self-references. In the second post, we narrowed down exactly what problem we need to solve to make generators work, and talked about some solu...
News & Blog Posts
2018-02-06
~9 min read
boats.gitlab.io
This is the first in a series of blog posts about generators, async & await in Rust. By the end of this series, I will have a proposal for how we could expediently (within the next 12 months) bring generators, async & await to stable Rust,...
News & Blog Posts
2018-01-30
~5 min read
boats.gitlab.io
Oftentimes when I am conversing about the design of Rust with other users - as on RFCs or the internals forum - I witness a peculiar remark about “explicitness.” It usually goes something like this: I do not like Feature Design X because it...
News & Blog Posts
2018-01-02
~9 min read
boats.gitlab.io
I’ve just published failure 0.1.1 to crates.io. It’s mostly some incremental improvements to failure that have been suggested since the first release two weeks ago. Improvements to the derive A big change in version 0.1.1 is that the derive...
News & Blog Posts
2017-12-05
~1 min read
boats.gitlab.io
I’m really excited to announce a new crate I’ve been working on, called failure, and which I’ve just released to crates.io. Failure is a Rust library intended to make it easier to manage your error types. This library has been heavily influ...
News & Blog Posts
2017-11-21
~3 min read
boats.gitlab.io
cargo gained a new feature this week! You can now download dependencies from alternative registries, alongside the dependencies you download from crates.io. This is an important step in enabling organizations to distribute their internal li...
News & Blog Posts
2017-10-31
~7 min read