Traditionally, JavaScript has been a single-threaded language.
About the Author: Thomas Hunter II has contributed to dozens of enterprise Node.js services and has worked for a company dedicated to securing Node.js.
211 Pages
Computers + Internet, Programming Languages
Description
About the Book
"With this practical book, intermediate JavaScript developers will come to understand the strengths and weaknesses of web worker APIs provided in browsers and the worker threads module provided by Node.js. Authors Thomas Hunter II and Bryan English focus on two approaches to buildings multithreaded applications: one using message passing and the other using shared memory. You'll learn APIs for implementing each, including when you might want to use one approach or the other, and when you can combine them"--
Book Synopsis
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
About the Author
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.
Dimensions (Overall): 9.1 Inches (H) x 6.8 Inches (W) x .6 Inches (D)
Weight: .85 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 211
Genre: Computers + Internet
Sub-Genre: Programming Languages
Publisher: O'Reilly Media
Theme: JavaScript
Format: Paperback
Author: II Thomas Hunter & Bryan English
Language: English
Street Date: October 26, 2021
TCIN: 84656808
UPC: 9781098104436
Item Number (DPCI): 247-27-2213
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.
Shipping details
Estimated ship dimensions: 0.6 inches length x 6.8 inches width x 9.1 inches height
Estimated ship weight: 0.85 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO
Return details
This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.