You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The javascript event loop is efficient for most of our needs, doing work on a single thread. Though not common are times though where these leads to bottlenecks. In other programming languages, we are familiar with processes and
threads, but it might seem strange to have this in JS, well-known for being "single threaded". I would be introducing the Web Worker API, implemented in most browsers as a way to create new processes to speed up computation.
The javascript event loop is efficient for most of our needs, doing work on a single thread. Though not common are times though where these leads to bottlenecks. In other programming languages, we are familiar with processes and
threads, but it might seem strange to have this in JS, well-known for being "single threaded". I would be introducing the Web Worker API, implemented in most browsers as a way to create new processes to speed up computation.
CtA: Give web workers a shot!
Presentation slides.pdf
The text was updated successfully, but these errors were encountered: