Async patterns to scale your multicore JavaScript… elegantly.

Async patterns to scale your multicore JavaScript… elegantly.

Code, blogs, videos and more:

“JavaScript is a toy language because it doesn’t support multithreading.” Heard that one before? Although the event loop means our program does one thing at a time, JavaScript is actually well-suited for a plethora of concurrency problems while avoiding typical multithreading woes. You might say JavaScript is single-threaded… just so it can be multithreaded!

Using functional programming techniques with Async IIFEs, Web Worker clusters and SharedArrayBuffers, you can elegantly architecture highly concurrent multicore web apps and backends… without spaghetti.

Async IIFE write-up:
MP3 reader:


Jonathan Lee Martin

March 11, 2019