Coding with Matt

Coding with Matt

Home
Archive
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

January 2026

Archives of my old blog now online!
Read what I wrote years ago
Jan 28 • Matt Tolman
Playing with threads in JavaScript
So, lately I’ve been doing a lot of multi-threading in C.
Jan 28 • Matt Tolman
Property Testing in C
A poor-man's fuzzer
Jan 12 • Matt Tolman
Snapshot Tests in C
Lately I’ve been working on a fairly big C library (it’s still early days, and I’ll write more about it over time).
Jan 9 • Matt Tolman
© 2026 Matt Tolman · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture