İanələr 15 sentyabr 2024 – 1 oktyabr 2024 Vəsaitlərin toplanılması haqqında

Multithreaded JavaScript: Concurrency Beyond the Event Loop

Multithreaded JavaScript: Concurrency Beyond the Event Loop

Thomas Hunter II, Bryan English
5.0 / 5.0
3 comments
Bu kitabı nə dərəcədə bəyəndiniz?
Yüklənmiş faylın keyfiyyəti necədir?
Kitabın keyfiyyətini qiymətləndirə bilmək üçün onu yükləyin
Yüklənmiş faylların keyfiyyəti necədir?
The nature of JavaScript is to be single threaded. This is reflected not only in libraries and applications, but also in online forum posts, books, and online documentation. Thanks to recent advancements in the platform—such as with web workers in the browser, worker_threads in Node.js, and the Atomics and SharedArrayBuffer objects—JavaScript engineers are able to build multi-threaded applications. 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, using a spectrum of API reference material and high level programming patterns.
• Learn what multithreaded programming is and how you can benefit from it
• Understand the differences between a dedicated worker, a shared worker, and a service worker
• Identify when and when not to use threads in an application
• Orchestrate communication between threads by leveraging the Atomics object
• Understand both the gains and pitfalls of using shared memory
• Benchmark performance to learn when you'll benefit from multiple threads
Kateqoriyalar:
İl:
2021
Nəşr:
1
Nəşriyyat:
O'Reilly Media
Dil:
english
Səhifələr:
200
ISBN 10:
1098104439
ISBN 13:
9781098104436
Fayl:
PDF, 5.78 MB
IPFS:
CID , CID Blake2b
english, 2021
Onlayn oxumaq
formatına konvertasiya yerinə yetirilir
formatına konvertasiya baş tutmadı

Açar ifadələr