Multithreaded JavaScript
Autor Thomas Hunter Ii, Bryan Englishen Limba Engleză Paperback – 4 oct 2021
Preț: 303.91 lei
Preț vechi: 379.89 lei
-20% Nou
58.17€ • 60.50$ • 48.75£
Carte disponibilă
Livrare economică 20 februarie-06 martie
Specificații
ISBN-10: 1098104439
Pagini: 200
Dimensiuni: 177 x 233 x 14 mm
Greutate: 0.39 kg
Editura: O'Reilly
Descriere
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
Notă biografică
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.