Coding with Matt
Subscribe
Sign in
Home
Archive
Latest
Top
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
1
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
1
Deadlocks and Starvation in JavaScript
Threads in the browser are still threads
Feb 10
•
Matt Tolman
1
JavaScript Mutexes
Adding locks to our threads
Feb 5
•
Matt Tolman
1
Sharing Memory Across Threads in JavaScript
Enter the races
Feb 3
•
Matt Tolman
2
1
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
1
January 2026
Archives of my old blog now online!
Read what I wrote years ago
Jan 28
•
Matt Tolman
1
Playing with threads in JavaScript
So, lately I’ve been doing a lot of multi-threading in C.
Jan 28
•
Matt Tolman
3
1
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts