Inching Forward

Rust

Jun 26, 2021

I tried to learn Rust a few years ago. I got really excited by many of the features, made it past ownership, then lost steam once I got to lifetimes. I think it was a combination of the cognitive load of learning Rust and that time was being taken from personal projects. Working on personal projects keeps me sane.

A few things have spurred me to try again:

I started learning Rust again with O’Reilly’s Programming Rust. I’m over 60% of the way through (past most of the “hard” parts) and it feels like I’ll finish. After the book, I’m going to go through Rustlings, then start using it on personal projects.

I don’t know if I’ll continue to use Rust after learning it, but I want to give it a solid try.

[Update: 12/26/2021]

I spent about 6 months working in Rust. I rewrote a couple web projects I had previously written in Go using a few different frameworks. Although memory use by the Rust versions was better, performance was a wash. The Rust code bases required significantly more knowledge than the Go ones. The way some library authors go crazy with types gives off some of the Java Architecture Astronaut vibes I try to avoid. I think for the goofy web personal projects I do, Rust is not a good fit. The surface area of Rust is large–I’m just not interested in having to hold all that stuff in my head. It was a really fun challenge to learn though, and I’m glad I went through it.


#rust