Multithreaded JavaScript
Multithreaded JavaScript Until recently, JavaScript concurrency was achieved by splitting up tasks and scheduling them. What does that mean for you? But thanks to language advancements such as web…
Specifikacia Multithreaded JavaScript
Multithreaded JavaScript
Until recently, JavaScript concurrency was achieved by splitting up tasks and scheduling them. What does that mean for you? But thanks to language advancements such as web workers in the browser, JavaScript is now a multithreaded language.
This book explores various features that JavaScript runtimes have at their disposal for implementing multithreaded programs. In this practical book, authors Thomas Hunter II and Bryan English explain JavaScript threads as a programming concept and tool.Not every problem needs to be solved with threads, but having this tool in your toolbox will help you arrive at the most appropriate solution. By exploring practical real-world examples, you'll discover when to use threads and when not to.
- Learn what multithreaded programming is and how you can benefit from itUnderstand the differences between a web worker, a service