without.boats
December 12, 2023Last week, Tyler Mandry published an interesting post about a problem that the Rust project calls “Barbara battles buffered streams.” Tyler does a good job explaining the issue, but briefly the problem is that the buffering...
Observations/Thoughts
2023-12-13
~6 min read
without.boats
November 30, 2023When we developed the Pin API, our vision was that “ordinary users” - that is, users using the “high-level” registers of Rust, would never have to interact with it. We intended that only users implementing Futures by hand,...
Observations/Thoughts
2023-12-06
~7 min read
without.boats
November 27, 2023In my previous post, I said that the single best thing the Rust project could do for users is stabilize AsyncIterator. I specifically meant the interface that already exists in the standard library, which uses a method call...
Observations/Thoughts
2023-11-29
~28 min read
without.boats
November 7, 2023Four years ago today, the Rust async/await feature was released in version 1.39.0. The announcement post says that “this work has been a long time in development – the key ideas for zero-cost futures, for example, were first...
Observations/Thoughts
2023-11-08
~21 min read
without.boats
October 15, 2023Async/await syntax in Rust was initially released to much fanfare and excitement. To quote Hacker News at the time:This is going to open the flood gates. I am sure lot of people were just waiting for this moment for Rust ado...
Observations/Thoughts
2023-10-18
~30 min read
without.boats
October 6, 2023I want to address a controversy that has gripped the Rust community for the past year or so: the choice by the prominent async “runtimes” to default to multi-threaded executors that perform work-stealing to balance work dynam...
Observations/Thoughts
2023-10-11
~7 min read
without.boats
I want to wrap up my consideration of the idea of adding new auto traits to Rust with some notes from a conversation I had with Ariel Ben-Yehuda.You can read these two previous posts for context:Changing the rules of RustFollow up to “Chang...
Observations/Thoughts
2023-09-27
~6 min read
without.boats
September 17, 2023In Rust, there are certain API decisions about what is and isn’t sound that impact all Rust code. That is, a decision was made to allow or not allow types which have certain safety requirements, and now all users are commi...
Observations/Thoughts
2023-09-20
~13 min read
without.boats
September 18, 2023In my previous post, I described the idea of using an edition mechanism to introduce a new auto trait. I wrote that the compiler would need to create an “unbreakable firewall” to prevent using !Leak types from the new edit...
Observations/Thoughts
2023-09-20
~2 min read
without.boats
May 27, 2023One of the most famous anecdotes that forms the basis of the United States’ political self-identity is the story of an interaction between Benjamin Franklin and Elizabeth Willing Powel after the Constitutional Convention of 1787...
Observations/Thoughts
2023-05-31
~5 min read
without.boats
I have been devoting a lot of my free time in the past month to thinking about structured concurrency, and a blog post about that is coming soon, but first I want to revisit iterators and generators.In a previous post, I wrote about one of...
Observations/Thoughts
2023-05-10
~6 min read
without.boats
This is the first post in a series of posts about concurrency in Rust, and the different APIs that can exist to support it. Unlike my recent series on control-flow effects, this series isn’t driving toward any particular vision of what I th...
Observations/Thoughts
2023-04-12
~8 min read
without.boats
March 26, 2023One of the main emphases of my recent posts has been that I believe shipping generators would solve a lot of user problems by making it easy to write imperative iterative code, and especially to make that iterative code intera...
Observations/Thoughts
2023-03-29
~12 min read
without.boats
March 22, 2023In a previous post, I established the notion of “registers” - code in Rust can be written in different registers, and it’s important to adequately support all registers. I specifically discussed the low-level interface of the...
Observations/Thoughts
2023-03-29
~8 min read