Skip to content
rusthacks.dev

About

This is my personal blog. I use it to write down everything I learn and run into, at work and in my own side projects, so I don't have to learn it twice.

I've been building software for a long time now. Years of web backends in other languages, then Rust for the services, tools and systems code where I wanted the compiler on my side. Somewhere along the way I noticed that the notes I kept for myself were the most useful thing I owned, and that most of them would have saved me a weekend when I was learning the borrow checker.

So here they are, cleaned up. Each post is something I actually did: a bug that ate an afternoon, a setup I keep coming back to, a thing the docs explain in one line that took me a week to really get. I compile the code before I post it and I say which Rust version I used, because nothing is more annoying than a snippet that worked once on somebody else's nightly.

If you're new to Rust, welcome. You don't need to know the jargon yet, you just need someone to show you the path they took and where they tripped. If you've been writing Rust for years, I hope you still find a trick or two.

Some links might earn me a small commission. That never decides what I write about or recommend. If I wouldn't use it myself, it's not here.

Found something broken, or want me to write about something? Drop me a line. I read everything.