Async patterns to scale your multicore JavaScript… elegantly.

031d2ed103210505960b5801bb07a9b9?s=47 nybblr
October 26, 2017

Async patterns to scale your multicore JavaScript… elegantly.

“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.

031d2ed103210505960b5801bb07a9b9?s=128

nybblr

October 26, 2017
Tweet