JS and Parallel Processing(!?)

by Joe Karlsson | at MinneBar 14 | 1:55 – 2:40 in Florida | View Schedule

For a long time, JavaScript was missing any kind of processing threads. While the single-threaded model added to developer comfort, it also made the platform unable to do serious and time-consuming calculations, and the only way to circumvent it was to do it on a remote server.

Luckily, with the introduction and widespread adoption of Web Workers, we can now do resource-intensive calculations on background threads. A Web Worker allows you to run JavaScript in the background, without affecting the performance of the page. Even if you are running really resource intense code in the browser, you can continue to do whatever you want: clicking, selecting things, etc., while the Web Worker runs in the background.

In this talk, we will explore:

  • Web Workers, how and when you can use them, and their peculiarities.
  • Polyfilling for naughty browsers
  • Future: WebGL, Canvas2D, and other marvels browser vendors are cooking up.

Joe Karlsson

Joe Karlsson (He/They) is a Software Engineer turned Developer Advocate. He empowers developers to think creatively when building web applications through demos, blogs, videos, or whatever else developers need.

Joe's career has taken him from building out database best practices and demos for MongoDB, architecting and building one of the largest eCommerce websites in North America at Best Buy, and teaching at one of the most highly-rated software development boot camps on Earth. Joe is also a TEDx Speaker, film buff, and avid TikToker and Tweeter.