Mini-rust in Rust 018: Type checking, the happy path

February 28, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust

This is it: we're going to do some actual type-checking. We want to be able to identify that let x: i32 = 3.0; is wrong, but for now we're going to check some things that are right. Type-checking this kind of thing is way easier than the full type inference we will eventually need, so it's a gentle start.

You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net