filmov
tv
Can JavaScript Go Faster? Threading in JavaScript (Data Structures & Optimization)

Показать описание
Can you make JavaScript run even faster? Or is it limited as a single thread language?
Follow me on:
In this video we talk a bit about JavaScript's mechanisms for concurrency and spreading the work out over multiple threads/cores. We'll cover the web worker API in a bit of detail, dedicated workers, and then we'll move on to creating a small testing setup. It's kind of interesting to explore the threading opportunities that JavaScripts offers through the Web Worker API, the various pitfalls and performance footguns that lurk there, and what you can do to mitigate these issues. We'll also explore using transferable objects with ArrayBuffer, and touch quickly on what SharedArrayBuffer unlocks in terms of concurrency and multiple threads reading/writing.
Links:
And yes, Node also has threads:
Follow me on:
In this video we talk a bit about JavaScript's mechanisms for concurrency and spreading the work out over multiple threads/cores. We'll cover the web worker API in a bit of detail, dedicated workers, and then we'll move on to creating a small testing setup. It's kind of interesting to explore the threading opportunities that JavaScripts offers through the Web Worker API, the various pitfalls and performance footguns that lurk there, and what you can do to mitigate these issues. We'll also explore using transferable objects with ArrayBuffer, and touch quickly on what SharedArrayBuffer unlocks in terms of concurrency and multiple threads reading/writing.
Links:
And yes, Node also has threads:
Can JavaScript Go Faster? Threading in JavaScript (Data Structures & Optimization)
PROOF JavaScript is a Multi-Threaded language
How to Make 2500 HTTP Requests in 2 Seconds with Async & Await
How Much Memory for 1,000,000 Threads in 7 Languages | Go, Rust, C#, Elixir, Java, Node, Python
Speed Up Your Node App Using Worker Threads!
How to use Multithreading with 'worker threads' in Node.js?
JavaScript single threaded
Is TypeScript (NodeJS) Faster than Go?? | A server comparison
CLUSTER MULTI THREADED NODEJS -- Run threads in parallel to speed up long processes (CORRECTED)
NodeJS threading
Python Threading in 2 Minutes: Run Multiple Tasks Concurrently | 2MinutesPy
3D World Generation #7: Speeding it up via Threading (JavaScript Web Workers & Three.js)
Go in 100 Seconds
High-school student makes React a million times faster
Worker Threads and Shared Memory for JavaScript Performance
Is JavaScript Single Threaded ??
Is javascript single threaded or multi threaded?
Node.js Worker Threads Example to Speed Up Express.js Server & Manage Concurrent Requests in JS
What is Web Workers Threads in Javascript to Increase Speed of App Explained in Whiteboard Video
Improve your Node JS performance | Worker threads in action
std threads vs tokio Runtime
Is JavaScript single threaded? NOT anymore! (Worker Threads)
Worker Threads Monitoring
How JavaScript Works 🔥& Execution Context | Namaste JavaScript Ep.1
Комментарии