Multithreaded JavaScript: Concurrency Beyond the Event Loop
Hunter, II Thomas, English, Bryan
- 出版商: O'Reilly
- 出版日期: 2021-10-12
- 定價: $1,980
- 售價: 9.5 折 $1,881
- 貴賓價: 9.0 折 $1,782
- 語言: 英文
- 頁數: 214
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1098104439
- ISBN-13: 9781098104436
-
相關分類:
JavaScript
-
相關翻譯:
JavaScript 多執行緒|超越事件迴圈的並行 (Multithreaded JavaScript) (繁中版)
立即出貨
買這商品的人也買了...
-
$1,980$1,881 -
$2,190$2,081 -
$1,700$1,615 -
$1,425$1,350 -
$1,700$1,700 -
$480$379 -
$4,620$4,389 -
$1,444$1,368 -
$1,500$1,425 -
$880$695 -
$600$510 -
$1,400$1,330 -
$1,650$1,568 -
$560$442 -
$1,815$1,719 -
$580$458 -
$980$833 -
$1,980$1,881 -
$880$695 -
$780$608 -
$500$390 -
$520$406 -
$1,700$1,615 -
$1,320$1,254 -
$2,109$1,998
商品描述
Until recently, JavaScript concurrency was achieved by splitting up tasks and scheduling them. But thanks to language advancements such as web workers in the browser, JavaScript is now a multithreaded language. What does that mean for you? 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. This book explores various features that JavaScript runtimes have at their disposal for implementing multithreaded programs. 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 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
作者簡介
Thomas Hunter II has contributed to dozens of enterprise Node.js services and has worked for a company dedicated to securing Node.js. He has spoken at several conferences on Node.js and JavaScript, is JSNSD/JSNAD certified, and is an organizer of NodeSchool SF. Thomas has published four books including Distributed Systems with Node.js by O'Reilly.
Bryan is an open source JavaScript and Rust programmer and enthusiast and has worked on large enterprise systems, instrumentation, and application security. Currently he's a Senior Open Source Software engineer at Datadog. He's used Node.js both professionally and in personal projects since not long after its inception. He is also a Node.js core collaborator and has contributed to Node.js in many ways through several of its various Working Groups.