Bookbot

Multithreaded JavaScript

Concurrency Beyond the Event Loop

Más información sobre el libro

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

Compra de libros

Multithreaded JavaScript, Bryan English, Thomas Hunter II

Idioma
Publicado en
2021
product-detail.submit-box.info.binding
(Tapa blanda),
Estado del libro
Dañado
Precio
16,77 €

Métodos de pago

Nadie lo ha calificado todavía.Añadir reseña