Log in  |  Forgot Password?

JS and Parallel Processing(!?)

by Joe Karlsson | 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.
Beginner

Joe Karlsson

Joe Karlsson is a software engineer turned Developer Advocate at MongoDB. He comes from the frozen tundra of Minneapolis, Minnesota (and yes, it does get really cold here, and no, not everyone here has the accent from the movie, Fargo). Joe has been primarily a Node and JavaScript engineer. He has been writing, teaching, and talking about code his entire career. Sharing what he knows and continuing to learn about programming is truly the thing he loves doing the most.

Joe is the co-creator of open source software, including bechdel.io, a web app that tells you if a movie script passes the Bechdel Test or not. In his free time, he is usually drinking Gin and Tonics, eating at a new restaurant, or tinkering on a new art project or open source project.

Quick Facts about me: • Currently Reading: Calypso by David Sedaris • Currently Listening to: Golden Hour by Kacey Musgraves • Currently Watching: Star Trek: Deep Space Nine • Last Place I Visited: Havana, Cuba • Pets: 1 black cat named, BMO