Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 019: Type checking an actual type error

We have a plan for what error message we should get when we try to write code like let x: i32 = 3.0;. Let's try to make it a reality! You can find th… ...more

March 07, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 018: Type checking, the happy path

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 ch… ...more

February 28, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 017: Handling float literals

We're still on a mission to do some type-checking, and our plan is to allow writing let x: i32 = 3.0;, then produce a type error because 3.0 is not an… ...more

February 21, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 016: Tidying our parser

We left our parser in an awful mess after the last video, so we're going to tidy it up a bit and make it easier to understand. You can find the sourc… ...more

February 14, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 015: Parsing a typed assignment

We want to have a go at some type-checking, so the first step is to write some code that causes a type error. We are going for let x: i32 = 3.0;. To d… ...more

February 07, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
1 2 ...89101112 ... 117 118
Recent
Why I don't use AI
Converting a string to an int in Rust (for no reason)
Why I don't use AI (expanded)
Resizing and moving an encrypted LVM volume
Implementing FizzBuzz in Rust (for no reason)
Reversing a string in Rust (for no reason)
Mini-rust in Rust 050: Parsing function definitions
Why do I have 2 passwords? How to talk about encryption in Matrix
Invisible Crypto: can Matrix be both secure and easy to use?
Mini-rust in Rust 049: Lexing an empty function
Mini-rust in Rust 048: Handling variable scope
Mini-rust in Rust 047: Updating types as we get more information
Jez and Andy write a Parser
Jez learns Rust by writing a Lexer
Mini-rust in Rust 046: Type-checking mutations
Andy's home page Categories Sitemap RSS Feed

© 2005 onwards Andy Balaam. CC BY-SA except where otherwise stated (source code). Powered by Zola & Abridge