Monadic error handling is an alternative to exception-based systems that can prevent many programming errors at compile time.
Read more »
Have you ever noticed that some of the bounds on Rust’s collection types are weird? This is a very long and old story of a problem from before even 1.0. I will explain this problem, and then try to solve it in a new way. I will fail to do so, but in the p... (more…)
Read more »
An unexpected errorA friend was experimenting with Rust and asked if I could help decipher an error message for them:PS Z:\Projects\aoc\src\bin> cargo build --bin=2021_day19... (more…)
Read more »
Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety. (more…)
Read more »
▸Installation & Hello World ▸Cargo & Crates ▸Variable bindings , Constants & Statics ▸Comments ▸Functions ▸Primitive Data Types ▸Operators ▸Control Flows Before we start writing real world…...
Read more »