Multithreaded JavaScript: Concurrency Beyond the Event Loop (pdf)

$10.00

Author Thomas Hunter II, Bryan English
Edition 1
Edition Year 2021
Format PDF
ISBN 9781098104436
Language English
Number Of Pages 214
Publisher O’Reilly Media

Description

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

Additional information

Author

Thomas Hunter II, Bryan English

Edition

1

Edition Year

2021

Format

PDF

ISBN

9781098104436

Language

English

Number Of Pages

214

Publisher

O'Reilly Media

Reviews

There are no reviews yet.

Be the first to review “Multithreaded JavaScript: Concurrency Beyond the Event Loop (pdf)”

Your email address will not be published. Required fields are marked *