#Web-Workers
2 notas · última:
how fast is javascript? Simulating 20,000,000 particles
The text shows, step by step, how the JavaScript simulation improves by using TypedArrays, SharedArrayBuffers, web workers, double buffering, and a final shader to reach 20 million particles.
Using Web Workers to Speed-Up Your JavaScript Applications
The post explains that Web Workers let browser apps move heavy tasks off the main thread, keeping the UI responsive. It also shows how to create, message, and terminate workers, plus their main limits.
