Andy Balaam's Blog
  • About Andy Balaam
  • All articles
Mini-rust in Rust 041: While conditions that are not operations

We are starting down a road towards type checking variables, but we go on a detour to make sure we can parse the simplest possible condition in a whil… ...more

August 08, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 040: While conditions should be bool

Working up towards some difficult type-checking, we do some easy type-checking: the condition part of a while condition should be a boolean, and to ge… ...more

August 01, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 039: Spans should be ranges

We've been tracking the location of a token in the file using a pair of numbers, but Rust has a better way: a Range. After some debate and wandering, … ...more

July 25, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 038: Avoiding a String allocation for each token

Last time I described what I tried to do with removing the extra String stored in each Token. This time, having figured out a workaround, we go ahead … ...more

July 18, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
Mini-rust in Rust 037: Complex expressions in mutation statements

We left a lot of gaps while we were building towards some working code. The first to tackle is allowing complex expressions on the right-hand side of … ...more

July 11, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
1 234567 ... 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