Tags
Language
Tags
May 2024
Su Mo Tu We Th Fr Sa
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1

Multithreaded Javascript: Concurrency Beyond the Event Loop

Posted By: Free butterfly
Multithreaded Javascript: Concurrency Beyond the Event Loop

Multithreaded Javascript: Concurrency Beyond the Event Loop by Bryan English
English | October 12, 2021 | ISBN: 1098104439 | 214 pages | MOBI | 1.24 Mb

The nature of JavaScript is to be single threaded. This is reflected not only in libraries and applications, but also in online forum posts, books, and online documentation. Thanks to recent advancements in the platform—such as with web workers in the browser, worker_threads in Node.js, and the Atomics and SharedArrayBuffer objects—JavaScript engineers are able to build multi-threaded applications. 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, using a spectrum of API reference material and high level programming patterns.
  • Learn what multithreaded programming is and how you can benefit from it
  • Understand the differences between a dedicated worker, a shared worker, and a service worker
  • Identify when and when not to use threads in an application
  • Orchestrate communication between threads by leveraging the Atomics object
  • Understand both the gains and pitfalls of using shared memory
  • Benchmark performance to learn when you'll benefit from multiple threads


  • Feel Free to contact me for book requests, informations or feedbacks.
    Without You And Your Support We Can’t Continue
    Thanks For Buying Premium From My Links For Support