Coding with Matt
Subscribe
Sign in
Home
Archive
Latest
Top
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
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
Property Testing in C
A poor-man's fuzzer
Jan 12
•
Matt Tolman
3
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
3
1
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts