0
نام کتاب
Multithreaded JavaScript

Concurrency Beyond the Event Loop
Thomas Hunter II and Bryan English

Paperback214 Pages
PublisherO'Reilly
Edition1
LanguageEnglish
Year2022
ISBN9781098104436
10
1K
A1801
انتخاب نوع چاپ:
جلد سخت
507,000ت
0
جلد نرم
427,000ت
0
طلق پاپکو و فنر
437,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:دارای متن و کادر رنگی
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

#JavaScript

#Multithreaded

#Node_js

#C_application

#C++

#Java

توضیحات

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

    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.

 

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.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
JavaScript
2,080
Learning JavaScript Design Patterns
529,000 تومان
JavaScript
1,702
JavaScript : The Good Parts
377,000 تومان
JavaScript
1,040
Data Wrangling with JavaScript
689,000 تومان
JavaScript
749
Advanced JavaScript Unleashed
520,000 تومان
JavaScript
787
Learn Enough JavaScript to Be Dangerous
526,000 تومان
JavaScript
1,142
JavaScript for Web Developers
658,000 تومان
JavaScript
620
Coding with JavaScript For Dummies
606,000 تومان
JavaScript
872
High Performance JavaScript
449,000 تومان
JavaScript
1,013
Maintainable JavaScript
458,000 تومان
Data
962
D3.js in Action
1,130,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©