Coding with Matt

Coding with Matt

Home
Archive
Adding Assertions to our Database
Our code has unit tests. Our database should too.
Jun 12 • Matt Tolman
Declaring Better Database Migrations
Moving away from file ordering and towards dependencies
Jun 6 • Matt Tolman

May 2026

Towards a Better SQL Migration
Because the current tools don't cut it.
May 13 • Matt Tolman
Complexity Killed the Code
While everyone is rushing to generate as much code as possible, no one is stopping to ask what code should exist
May 6 • Matt Tolman

March 2026

A Library for JavaScript Threads
Complete with mutexes and other SharedArrayBuffer primitives
Mar 28 • Matt Tolman
WaitGroups in JavaScript
Signalling to the main thread without message passing
Mar 1 • Matt Tolman

February 2026

JavaScript Condition Variables
Waiting for conditions to change
Feb 16 • Matt Tolman
Better Mutexes in JavaScript
Adding timeouts and async to our synchronization
Feb 15 • Matt Tolman
Deadlocks and Starvation in JavaScript
Threads in the browser are still threads
Feb 10 • Matt Tolman
JavaScript Mutexes
Adding locks to our threads
Feb 5 • Matt Tolman
Sharing Memory Across Threads in JavaScript
Enter the races
Feb 3 • Matt Tolman
Sharing Threads in JavaScript
Previously I wrote about the basics of threading in JavaScript. In short, threads are the worker specification, and you can pass messages to workers and…
Feb 2 • Matt Tolman
© 2026 Matt Tolman · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture