The bad news is that the 2018 edition of Rust has pretty much settled on the worse of two module systems. The good news is that they have done so with the potential to unfuck this at some point in the future. In the meantime, what can you expect?
In Rust, Debug is a trait that allows us to inspect the state of a struct by printing the struct to std out or, you know, whatever. Usually, we just derive debug implementations, but there are cases when that's not possible or even desirable. Here's a real world example.
Sometimes, I'm not sure why I write about software. Specifically, I'm not sure why I write about Rust. The community built up around the language views me as basically the root of all
Rust allows the programmer to choose between static and dynamic dispatch pretty much on a case by case basis. In real world terms, the performance difference between the two is practically invisible; a branch is a branch is a branch. When should we choose one over the other and why?
Half of Rust is unstable. Unfortunately, it's the good half. Fortunately, there are some ways to mitigate that.
Rust's memory model can have profound impacts on the way programs are designed and written. Here are a few of the tricks I have picked up over the years.
Nightly rust can be a crap shoot, especially lately. First they changed the name of `rls` from `rls` to `rls-preview`, and then they decided they'd break the build half the time... Oh well! It's just nightly.
If you haven't been keeping up with "Meltdown," I'm not going to link to it from here. I don't want to fuck up your world. No, no, don't look it up.
Bigger isn't always better. Sometimes, the small number wins. For instance, the US Army monster pictured above makes 11,000 horsepower and has a redline of 8500 RPM, but goes from zero to
...Because rustup has finally provided me with a version of rls-preview that actually works again. Also, my crockford library has reached 1.0. I expect to be releasing a companion library (boasting similar