My honest opinion on Rust

Yes, I know that I’ve kind of been riding the “Rust wave” lately, and I want to stop. However, I feel like I should write this post first, to give this wave a due conclusion.

First of all, I don’t hate it. I don’t think it’s, generally speaking, a bad language. It’s used for things it really shouldn’t be used for1, yes, and the community’s approach to other languages still kind of sucks, the language itself isn’t bad.

The tooling, though, is an interesting question. On one hand, it’s not really bad. It’s complicated sometimes, and slow, but not bad. Cargo is a great build system (better than CMake for at least2), although it’s a little hard to customise.

Regarding bloat: yes, it’s bloated for small programs (which should absolutely be written in C), but it’s constant, so it doesn’t matter much if your program is going to be complicated and large anyway.

It can be good for certain use-cases. Not all of them. Often it overlaps with C’s use-cases, in which case I’d probably just flip a coin.

The attitude of the community can be extremely irritating though. There’s no getting around that, unfortunately.

Now, if you’ll excuse me, I’m going to stop writing these rants.

  1. For example coreutils. No, I’m not over it yet. ↩︎

  2. I’m taking this opportunity to tell any C or C++ developers to please don’t use CMake. It sucks. Use Meson, Autotools, I don’t care. I recommend POSIX make or Meson. ↩︎