Assortment of top titles. Discover top titles, podcasts, and more on Audible. Try 30 days free.
To share your reaction on this item, open the Amazon app from the App Store or Google Play on your phone.
Add Prime to get Fast, Free delivery
Amazon prime logo
$37.95 with 42 percent savings
List Price: $65.99
FREE Returns
FREE delivery Thursday, January 30
Or Prime members get FREE delivery Tomorrow, January 26. Order within 8 hrs 12 mins.
Only 7 left in stock (more on the way).
$$37.95 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$37.95
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

Something went wrong. Please try your request again later.

Multithreaded Javascript: Concurrency Beyond the Event Loop 1st Edition

4.3 4.3 out of 5 stars 25 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$37.95","priceAmount":37.95,"currencySymbol":"$","integerValue":"37","decimalSeparator":".","fractionalValue":"95","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"CLFHzwqoVB6wa1mBBwRNipLHpR6G%2BqNKSdmY5BIkwzJI1L2zi1k9%2FlaaOc8ab2uWXsU76TzqGt5U0w04qSbdMmTaQSJc%2Bz8HsBBBQIByATc6tK2uqDm9olngiZbX%2BfZMvQE6AQhzO8YN%2Bcs1pFBHww%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons

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

Frequently bought together

This item: Multithreaded Javascript: Concurrency Beyond the Event Loop
$37.95
Get it as soon as Thursday, Jan 30
Only 7 left in stock (more on the way).
Ships from and sold by Amazon.com.
+
$32.49
Get it as soon as Thursday, Jan 30
In Stock
Ships from and sold by Amazon.com.
+
$40.39
Get it as soon as Thursday, Jan 30
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

From the brand


From the Publisher

Multithreaded JavaScript

Target Audience

The ideal reader of this book is an engineer who has been writing JavaScript for a few years, and who doesn’t necessarily have experience with writing multithreaded applications or even experience with more traditionally multithreaded languages like C++ or Java. We do include some example C application code, as a sort of multithreaded lingua franca, but it’s not something that the reader is expected to be familiar with or even understand.

If you do have experience with such languages, that’s great, and this book will help you understand the JavaScript equivalent to the functionality provided by whatever language you may be familiar with. On the other hand, if you’ve only written code using JavaScript, then this book is also for you. We include information across multiple layers of learning; this includes both low-level API references, high-level patterns, and plenty of technical tangents in between to help fill in any gaps.

Goals

Perhaps the most exuberant goal of this book is to bring knowledge to the community that it’s possible to build multithreaded applications using JavaScript. Traditionally, JavaScript code was constrained to a single core, and indeed there are many Twitter threads and forum posts describing the language as such. With a title like Multithreaded JavaScript, we hope to completely dispel the notion that JavaScript applications are confined to a single core.

At a more concrete level, the goal is to teach you, the reader, several aspects about writing multithreaded JavaScript applications. By the time you’re done reading this book you’ll understand the various web worker APIs provided in browsers, their strengths and weaknesses, and when to use which. As far as Node.js goes, you’ll understand the worker threads module and how its APIs compare to those in the browser.

The book focuses on two approaches to building multithreaded applications: one using message passing and the other using shared memory. By reading this book you’ll understand the APIs used to implement each, when you might want to use one approach or the other, and in which situations they can be combined—and you’ll even get your hands dirty with some high-level patterns built upon these approaches.

Editorial Reviews

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.

Product details

  • Publisher ‏ : ‎ O'Reilly Media; 1st edition (October 26, 2021)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 211 pages
  • ISBN-10 ‏ : ‎ 1098104439
  • ISBN-13 ‏ : ‎ 978-1098104436
  • Item Weight ‏ : ‎ 13.6 ounces
  • Dimensions ‏ : ‎ 6.8 x 0.6 x 9.1 inches
  • Customer Reviews:
    4.3 4.3 out of 5 stars 25 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.3 out of 5 stars
25 global ratings

Review this product

Share your thoughts with other customers
Poor quality print
1 out of 5 stars
Poor quality print
I can't believe people write a great book and charge decent amount for it just to choose the cheapest possible on demand printing. Some pages are crisp and some are slightly blurry which is really annoying. Funny how $10 fiction books have better print quality than $60 technical books these days.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

  • Reviewed in the United States on November 8, 2021
    I'd highly recommend this book to anyone working with JS. Even for experienced JS developers, it uncovers a whole area of JS that's mostly underutilized. The book is packed with practical examples and parallels to other languages. It's engaging and well worth the purchase.
    2 people found this helpful
    Report
  • Reviewed in the United States on March 28, 2024
    I can't believe people write a great book and charge decent amount for it just to choose the cheapest possible on demand printing. Some pages are crisp and some are slightly blurry which is really annoying. Funny how $10 fiction books have better print quality than $60 technical books these days.
    Customer image
    1.0 out of 5 stars Poor quality print
    Reviewed in the United States on March 28, 2024
    I can't believe people write a great book and charge decent amount for it just to choose the cheapest possible on demand printing. Some pages are crisp and some are slightly blurry which is really annoying. Funny how $10 fiction books have better print quality than $60 technical books these days.
    Images in this review
    Customer image
    Customer image
  • Reviewed in the United States on April 2, 2024
    As other users have mentioned it, the construction of the book is pretty low quality... Like surprisingly low quality, especially at this price point.

Top reviews from other countries

  • Vincenzo
    3.0 out of 5 stars good book but poor on some subjects
    Reviewed in Italy on January 22, 2022
    does not explain enough about the sharedarraybuffer and share json in this data structure