Andy Balaam's Blog
  • About Andy Balaam
  • All articles
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
Mini-rust in Rust 036: Evaluating code blocks

Blocks of code surrounded by braces are valid statements in Rust - it's just a small change to our existing code to be able to evaluate them. You can… ...more

July 04, 2025 [Programming, Programming Languages, Rust, Tech, Videos] #mini-rust
1 2 ...7891011 ... 121 122
Recent
Keep the faith
Implementing gunzip from scratch in Rust
Jez returns for programming language chat!
Announcing Changelog Builder - a towncrier clone for building changelogs
Using anyhow to handle errors in my Rust changelog builder
A simpler blog comment system
Building a Rust commandline tool: a towncrier clone
The billion row challenge: splitting lines using SIMD in Rust
Rust: reading very large files for the billion row challenge
Parsing whole lines of the Billion Row Challenge
Improving our billion-row parsers and benchmarks
Making our own String type in Rust
Writing a Snake game in Rust/WASM
Talking to localhost from inside an Android emulator
Rust: compiling to WASM to make a browser-based game using canvas
Add a comment

Your comment

Comments welcome. I review them manually, so there will be a delay before they appear.

Markdown is allowed.

To prevent spam, please type 'Scheme' below:

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