Jump to ratings and reviews
Rate this book

Multithreaded Javascript: Concurrency Beyond the Event Loop

Rate this book
Traditionally, JavaScript has been a single-threaded language. Nearly all online forum posts, books, online documentation, and libraries refer to the language as single threaded. Thanks to recent advancements in the language--such as the Atomics and SharedArrayBuffers objects and Web Workers in the browser--JavaScript is now a multi-threaded language. These features will go down as being the biggest paradigm shift for the world's most popular programming language.

Multithreaded JavaScript explores the various features that JavaScript runtimes have at their disposal for implementing multithreaded programming, providing both practical real-world examples, as well as reference material.

Learn what multithreaded programming is and how you can benefit from it
Understand the differences between a web worker, a service worker, and a worker thread
Know when and when not to use threads in an application
Orchestrate communication between threads by leveraging the Atomics object
Build high-performance applications using the knowledge you gain from this book
Benchmark performance to learn if you'll benefit from multithreading

211 pages, Paperback

Published October 26, 2021

Loading...
Loading...

About the author

II Thomas Hunter

6 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
14 (50%)
4 stars
11 (39%)
3 stars
3 (10%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 1 of 1 review
Profile Image for Ahmed Mansour.
43 reviews
December 4, 2025
It would have been better with full real projects examples for each chapter along with diving deeper into specific usecases.

i liked it regardless and definitely will be recommending it to others.
Displaying 1 - 1 of 1 review