# Multithreaded JavaScript 《JavaScript多线程》

# 基本信息

英文书名:Multithreaded JavaScript

中文书名:JavaScript多线程

作者:Thomas Hunter, Bryan English

版本:无

ISBN: 9781098104436

页数:未知

出版社:O’Reilly (opens new window)

出版时间:2021.09

cover

下载地址:腾讯微云 (opens new window)

文件格式:PDF ePub

分享密码:dqydcn

# 内容简介

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
最后更新: 12/2/2022, 12:56:08 AM