Skip to content

Adam Chalmers

Rustconf 2023 recap

I got back from Rustconf 2023 last week, and I had a great time! I thought I'd write up my impressions of the conference, for anyone curious about what it's actually like.

Talks

There were a lot of really interesting talks! You'll be able to watch them all online soon. Some of my favourites were:

  • Yoshua Wuyts talking about effect systems. The problem: if you have a function like "copy", how do you make a normal copy, an async copy, a fallible copy (which returns Result), a fallible async copy, a const copy, etc? You don't want to have n "flavours" of function which can be combined to make 2n different functions. I really appreciated the systematic explanation of the problem itself, why it's worth taking seriously, and tying it into the literature around type theory at the end.
  • Rain gave a talk about the cursed parts of Unix signals, which have caused me pain before (see Signals vs. Servers)
  • Nikolai Vazquez talked about const functions -- I love writing compile-time code, because it pushes runtime errors into compile errors. So I'm always looking for ways to do more in const functions.
  • Lisa Crossman gave a fascinating talk about bioinformatics, and how she's using Rust to speed up genomic analysis and other big data biology problems. I learned so much talking to her after the conference, about how different various kinds of plants and animals are at a genetic level -- some wheat species have six sets of chromosomes! That's crazy!
  • Jan David Nose talked about Rust's infra (distributing static Rust toolchains, compilers) etc. As the number of Rust programmers grows, the Rust project's bandwidth bills are growing exponentially to keep up with everyone's Rust downloads. Currently, companies sponsoring the Rust Foundation cover this bill, but the Foundation is trying to reduce their total egress so that they don't require exponentially-growing generosity from sponsors to keep hosting Rust.
  • Will Crichton spoke about adding interactive quizzes into the Rust book, which lets readers test their understanding, and lets the Rust project evaluate what new Rust programmers have the greatest difficulty learning. It's a really fascinating approach to education! Imagine being able to A/B test different ways of explaining a concept like "lifetimes" or "Pin pointers", by comparing how many readers got quiz questions correct before and after a change. Really fascinating.

There were lots of really great talks, but I couldn't go to all of them (the conference was dual-track, i.e. sometimes two talks were scheduled in different rooms simultaneously). Sometimes a talk was too advanced for me, or too basic for me, but I felt like they would be right for someone else. Some talks I really wanted to attend, but my brain was too tired/distracted in the moment to pay proper attention. So I'm definitely going to go back and rewatch several of the talks when they're online.

Last year, I watched some recorded Rustconf talks with my friend Jyn once they were all released online. I think that's a great idea -- get some other Rust programmers together, choose a few videos and really watch them paying close attention. You can pause them and go over each slide to make sure you really understand a new concept. This was the only way I could understand advanced talks from last year, like the one about "C++ move constructors" -- slowing it down and discussing it with friends. Strongly recommended way to learn hard material.

Outside the talks, Jetbrains ran a Rust quiz with prizes for the top 5 people. I came #4 out of around 25 and scored a free copy of Zero to Production in Rust by Luca Palmieri, and a Jetbrain water bottle big and solid enough to double as a weapon if necessary. It was really fun -- every conference should have a quiz, they're fun.

People

I really enjoyed the social part of Rustconf -- I'm probably two standard deviations more extroverted than the average programmer so that is to be expected. It was great to meet some people I'd only known as usernames, like Inanna, Esteban and Florian. And I bumped into some former coworkers, including Martin Pool, who I haven't seen in ten years! When I had my first-ever tech internship, I was assigned to his team. We've both sinced moved from Sydney to the USA, so it was great to see him again.

The last time I attended Rustconf was 2019, when Cloudflare sponsored it. I mostly hung out with Cloudflare coworkers then. This year I didn't know anyone else going. So I met a lot of strangers!

A few years ago I went to Strange Loop, an awesome general-purpose programming conference. I found it much easier to talk to strangers at Rustconf than Strange Loop, because Rust programming is more of a niche. My go-to question when I met someone new was "so, what do you do with Rust?" and that's usually enough to start some interesting conversation! Finding shared passions is easy because we're all at a Rust conference, after all. So, even if you're a bit shy, I think Rustconf was pretty easy to socialize at.

Rustconf had a pretty broad range of attendees -- everyone from senior Rust project members to university undergraduate students. One of the best things you can do at a conference is just meet a lot of people and help them find the other people they should meet. If there's a student looking for an internship, introduce them to someone looking for an intern! Helping people find each other was really great. I really enjoyed meeting a whole bunch of different people and getting to know them.

At a conference, there's always people who know each other, and are going to make breakfast plans with their friends. That's great! For me, I didn't know many people there. So I resolved to organize casual breakfasts every day. This was really easy -- I just posted in the conference Discord, "I'm going to have breakfast at place around time -- please feel free to come along too!" Everyone wants someone to make the casual, open, welcome plans. If nobody has yet, then congratulations -- you can be the person to make them! You don't require any permission from the conference, or to be an official spokesperson or a big community member. Just choose a time and place for other people who don't have plans, to all have plans together. I think this worked well and helped people feel comfortable. Strongly recommend doing this at conferences.

I'm glad I talked to so many people, because I had a great time and made some friends I would never have met otherwise, like Zach, a student on the opposite side of the country. But we started talking about his work (improving CPU cache by letting the compiler do static analysis on where variables are used) and my work on optimizing KittyCAD's latency, and just had a great time! I used to find talking to strangers at conferences stressful, but apparently now I love it.

I use social media and read blogs a lot, so I've been following various Rust maintainers and contributors online for a long time. It was really cool to get to meet some of them in real life. If you go to conferences, you'll frequently meet people whose work you're familiar with, but who won't know you at all. Some people find this pretty awkward, and avoid talking to them for that reason. Here's a suggestion: people love talking about their passions. And if somebody is passionate enough about their software or side-project to work on it in their spare time, unpaid, then they're probably more than happy to talk about it! So, my advice: ask people whose work you're familiar with about their work! It was great to be able to ask e.g. Rain all my questions about developing nextest, or Ed Page questions about winnow and clap. At your next conference, ask people about their passion projects. You'll probably learn a lot, and have some really fun conversations. Although remember to factor in the typical level of programmer introversion :) I'm very extroverted, but even I was tired of talking to people by the end of dinner each night.

The Unconference

When I bought my Rustconf ticket, the website asked me if I wanted to register for "The Unconference". I didn't really know what that entailed, so I just said "yes" -- the more Rust the better, right?

I went in knowing nothing about it, but Unconference was my favourite part of the trip. There were no planned sessions. In the morning, we all met in the one available room, and people proposed session topics on post-it notes. Then everyone voted on which topics they wanted to talk about. Unconference facilitators put together a schedule, and we divided the room into four corners. Every hour, 4 different topics got discussed, one in each corner.

The discussions were really interesting. Nobody prepared or gave a talk -- Unconf sessions were just round-table discussions. Have something to contribue? You put up your hand, and get a chance to say it. Topics I went to included:

  • Sustainable Rust open-source development
  • Advanced linting (better built-in lints, and better custom, user- or project-specific lints)
  • Rust education (mostly in universities, but elsewhere too)
  • Improving Cargo for day-to-day use
  • Problems and improvements with "system crates" (crates link to non-Rust code, like openssl-sys)

I learned a lot from these sessions! In some ways, the Unconference wasn't particularly aimed at people like me. Most of the topics were aimed at people who are actively working on Rust or its ecosystem. I mostly write Rust for private companies, and while I open source what I can, nothing on my GitHub is anywhere near big enough to be part of "the Rust ecosystem". Nonetheless it was really fascinating hearing from Rust project members, like Manish and Ed, about what Rust contributors are thinking about and working on, usually things that I would never have thought about in my day-to-day as a Rust user. Predrag of cargo semver-checks had a lot of really interesting thoughts about the wider Rust ecosystem -- I really appreciated his perspective. Because I didn't have that much to say, I tried to make myself useful by taking very detailed notes at each session.

Albuquerque

I love New Mexico. I wish I'd planned out a full week + weekend in New Mexico, so I could have driven out to some of its beautiful nature and hiking (the American Southwest is one of the most gorgeous places I've ever been). There were parts of downtown Albuquerque I really liked -- they had great coffee shops, and some really good restaurants (Farina Pizzeria, Roma Bakery, Suenos Coffee). Unfortunately, downtown Albuquerque seems kinda dead -- there were basically zero pedestrians around, day and night. Maybe Albuquerque is one of those places where everyone drives and nobody walks anywhere.

The only people I saw downtown were large groups of homeless people around the train station and tunnels below highways. Unfortunately one of those tunnels was the main crossing between my hotel and a bunch of restaurants/shops, so I had to take a 15 minute detour or walk through this narrow tunnel. Nothing actually bad happened to me in downtown Albuquerque -- one homeless person yelled at me while I was walking home alone after dinner, which is a pretty minor incident -- but walking around downtown Albuquerque late at night definitely wasn't as fun and didn't feel as safe as downtown Portland in past years. For what it's worth, I'm a thirty year old, six foot tall gender-conforming man. I'd be curious how shorter people/women/visibly-queer conference guests felt.

Flying from Austin to Albuquerque was really easy, and the ABQ airport was really nice. They even have machines that can scan your entire bag, so you don't have to unpack all your electronic devices in the security line.

Vibe check

My first Rustconf was 2019, and I haven't been back until this year's. In 2019 I was pretty new to Rust, and although I was there with my Cloudflare coworkers, the conference felt pretty overwhelming and intimidating!

Four years later, I feel much more comfortable talking about Rust with strangers. I know a lot more of the language, I'm not overwhelmed when conversations get really deep and technical. I know what I don't know, so I feel comfortable asking "oh, I've got no idea how Cargo actually works -- why wouldn't that idea be possible?" So I definitely felt more confident going in. I felt confident that I could organize group events with strangers, because I remembered feeling pretty lost at my first conf, and wanting to make sure other new Rustaceans always had a breakfast to go to, even if they didn't know anyone. So personally, I had a great time at this Rustconf.

On the other hand, Rustconf definitely felt sadder and downbeat than my previous visit. Rustconf 2019 felt jubilant. The opening keynote celebrated the many exciting things that had happened over the last year. Non-lexical lifetimes had just shipped, which removed a ton of confusing borrow checker edge cases. Async/await was just a few short months away from being stabilized, unleashing a lot of high-performance, massively-scalable software. Eliza Weisman was presenting a new async tracing library which soon took over the Rust ecosystem. Lin Clark presented about how you could actually compile Rust into this niche thing called WebAssembly and get Rust to run on the frontend -- awesome! It felt like Rust had a clear vision and was rapidly achieving its goals. I was super excited to be part of this revolution in software engineering.

By contrast, I felt like this year's conference was defensive and maybe somewhat depressed. I wanted to give the spirit of Rust a hug and tell it, "hey, I know you've had a tough year". In 2023 alone, there was the

  • Rust trademark fiasco
  • Rustconf closing keynote fiasco
  • Serde shipping precompiled binaries fiasco

which resulted in multiple people leaving various Rust teams and projects. There might be even more stuff that just wasn't as publicly visible! Things got mean and heated this year in a way which seemed to me, an outsider to the Rust project, much more public and messy than previous years. I don't know anyone involved in organizing Rustconf, so this is just my personal impression. But the nonstop messiness of the last year seemed to loom over the conference, making it feel somewhat withdrawn and maybe even a little depressed. That's appropriate and understandable, given the year the organizers have had. It's hard for Rustconf to feel jubiliant when the organizers have been alternating writing long apologies, or receiving torrents of "feedback" (some deserved, some unfair, some abusive). The official talks from Foundation or Project members seemed like they had to "play it safe" due to the tension caused over this year. The Rust Foundation should issue a grant to Jo Freeman given how many times The Tyranny of Structurelessness was mentioned by Rustconf staff! Maybe we could bring her on as a consultant for the new Rust leadership structure.

I miss the exuberance of Rustconf 2019. I understand why this year felt so different. But I hope that next year's Rustconf has a happier, more functional, less divided Rust community.

On the other hand, the weariness and malaise was limited to people who work on or work for Rust. People like me who just use Rust seemed more excited and happier. I loved the optimism of talks from Carter Schultz, who was almost jumping in the air during his talk, when he explained how easy it was to write his factory's embedded robotics code in Rust. "It just worked! Somehow Rust lived up to the hype! I finished an insanely ambitious project in a new language and it just worked, no problems!" That was the energy I was hoping to find at the conference. I got the same positive energy from Tim McNamara and Barton Massey who are bringing Rust to new users with their educational material. They clearly believe in Rust's future and spent a lot of time at Unconference talking about how to spread Rust's benefits to new parts of the tech world. Generally the Rust programmers I met at the conference were excited and upbeat -- you'd have to be excited about Rust to show up at Rustconf!

It's a tough time for the Rust project and foundation, but there's never been a better time to be a Rust user. Rust lets me make software I simply couldn't have made without Rust -- I'm wrapping C++ projects in safe Rust APIs, I'm automatically generating OpenAPI schemas from my HTTP servers, then automatically generating API clients from the schemas. I'm spending less time than ever on unit tests, because libraries like Serde and Diesel are generating all the tricky code for me. Rust has made me so much more productive, so much more less stressed, and helped me work on products I simply didn't have the training to do safely/securely beforehand. The Rust mission -- let you write software that's fast and correct, productively -- has never been more alive. So next Rustconf, I plan to celebrate:

  • All the buffer overflows I didn't create, thanks to Rust
  • All the unit tests I didn't have to write, thanks to its type system
  • All the null checks I didn't have to write thanks to Option and Result
  • All the JS I didn't have to write thanks to WebAssembly
  • All the impossible states I didn't have to assert "This can never actually happen"
  • All the JSON field keys I didn't have to manually type in thanks to Serde
  • All the missing SQL column bugs I caught at compiletime thanks to Diesel
  • All the race conditions I never had to worry about thanks to the borrow checker
  • All the connections I can accept concurrently thanks to Tokio
  • All the formatting comments I didn't have to leave on PRs thanks to Rustfmt
  • All the performance footguns I didn't create thanks to Clippy

And I hope you join me.