Creating thoughtfully-engineered, finely-crafted, and well-tested software.

A software engineer with over a decade of experience - this website is for sharing technical articles, and my own side-projects related to software engineering. I hope you enjoy it!

What to expect:

  • Weekly devlog updates
  • Monthly technical articles
  • Occasional software releases
Support Me on Ko-Fi!

FEATURED PROJECTS

view all projects →

typed-ident

Type-safe identifier validation, inspection, and mutation.

error-kind

Separate `Error` from `ErrorKind` with convenient derive macros!

LATEST ARTICLES

view all articles →
An Oguri Cap toy from Umamusume standing in front of a fruit market set, holding a mango with a happy expression on her face.

Rust Declarative Macros: Organization, Scoping, and Common Use-Cases

In our previous article, we covered what declarative macros are, and how to define and use them. In this article, we will focus on how to integrate them into your crate. That means we’ll cover macro scoping, organization, and exporting. We’ll also take a look at some common use-cases with examples. Hopefully, after reading these two articles, you’ll feel ready to start experimenting with declarative macros in your own crates! NOTE: This article is tested under the 2024 edition of Rust.For older code you may see some older patterns, like using a lot of `#[macro_use]` statements, but this article is going to focus on more modern practices. If something doesn’t compile for you, check your Rust version and edition.
Read More...
A picnic scene featuring Osaka, Sakaki, and Chiyo toys, sitting out in a grassy area someplace, with various fruits.

Rust Declarative Macros: A Simple and Practical Introduction

Macros are commonly presented as simple “text substitution” language features. But the way they’re implemented can change your experience using with them. The simplicity of a text-replacement-style implementation (sometimes referred to as C-style macros) can often lead to surprising and counter-intuitive results. As such, those feel simple to learn, but difficult to master and use safely. In Rust, however, macros work in a way that may be unfamiliar to many. They are recognized and processed during the compiler’s parsing phase. That can make them do some powerful things, but it also can make them a little hard to learn and understand initially. Since macros are a huge topic, there’s no way I’m going to be able to cover all of it in one article. So we’re only going to focus on a brief introduction to macros, as well as defining and using declarative macros. Updates: - 2026/10/08 - added an introduction covering what macros are, based on feedback from the Rust Users Forums.
Read More...
A Sakaki toy from Azumanga Daioh sitting on a chair with a cat on her head, and a cat-like creature standing next to her

typed-ident: A Retrospective on a Type-Safe Unicode Identifier Crate

This week, I released my first official open source crate - `typed-ident`! This crate is actually a small part of a few other projects that I’m working on. I’m not quite ready to share those other projects yet, but I figured instead of taking months to release a few big projects, I could break out this functionality, polish it up, and release that. After all, it eventually needed to be factored out, and it seemed like it wouldn’t be too difficult. That was the idea at least, but as I’m sure you can tell just looking at the crate (and reading this article), it didn’t quite go to plan. This article should be a fun ride - I learned a lot working on this crate, and maybe even if you don’t plan on using it you will too!
Read More...

LATEST DEVLOGS

view all devlogs →

LOG 026

2026/11/27

★ Vacation

  • Cleaned up some build and publishing scripts.

  • Relaxed and had a nice Thanksgiving!

As mentioned last week, I’m on vacation for a few weeks.

I did get a bit of work done, but not much. Just some tricky build and publish script cleanups that I’ve been pushing off for a few years.

LOG 025

2026/11/20

★ Error Handling

  • Published an alpha version of the latest concept I'm messing with - error-kind (full release notes).

  • Streamed Monday-Thursday to show my work process (YouTube Channel).

  • Finished a first-pass on the December article, it will release on December 15th!

  • Going on a trip to visit family, I hope you all have a great Thanksgiving!

The main thing this week is the release of my new error handling crate, error-kind!

I didn’t want people to think I just generate my code, so I continued streaming my development process on YouTube as well (YouTube Channel).

Development of my main open source projects will be streamed, but anything private or internal (like my site generator, or some throwaway ideas), I’ll continue working on privately.

My new crate is not quite where I want it to be yet!

But I think it’s an interesting enough concept to publish it a bit early. This handles a frequent issue that I’ve run into where I sometimes conditionally want to collect error information based on crate configuration.

I’m going on a trip soon, and during that time I won’t be able to stream. I’ll probably take this time to make some improvements to this site. I have a big list of changes I want to make. :)

Just expect that things will slow down from me for the next ~3 weeks.

Have a happy Thanksgiving everyone!

LOG 024

2026/11/13

★ Error Handling

  • Released the latest article on declarative macros (read it here; presented in TWIR 667).

  • Published v0.0.4 of typed-ident adding serde support (full release notes).

  • Making slow but steady progress on the final article focusing on declarative macros.

  • Made a lot of progress on the rust error handling crate.

  • Decided that I'm going to stream all of my developer activity (YouTube Channel).

The new error handling crate is coming along nicely!

I also started streaming my software development process. I figure in today’s day and age, the only ways you can prove you’re putting in some effort is:

  • A proven track record of high-quality code.
  • Literally streaming everything that you do (lol).

I’m proud of the code that I write, but I can’t pretend it’s not onerous to demonstrate my work ethic through results alone. To make matters worse, I like to work in isolation and produce complete results that have been well-tested and thought through carefully…

So, I guess I’ll just have to stream my work!

It was a bit hit-or-miss at the start there, while I was getting the feel for things, but now you can catch me just about every weekday on my YouTube page.