Summary of Asynchrony: Under the Hood - Shelley Vohr - JSConf EU

Presentation Summary

In this presentation, Shelley Vohr, a software engineer at GitHub, provides an in-depth exploration of asynchronous programming in JavaScript. She begins by outlining the fundamental principles of asynchronicity, emphasizing the relationship between "now" and "later" in code execution, and the unpredictability of when tasks will run in the future.

Key Concepts Discussed

Overall, Vohr emphasizes that while callbacks, Promises, and Async/Await each have their strengths and weaknesses, the choice of which to use should depend on the specific requirements of the task at hand.

Main Speaker

Notable Quotes

01:04 — « That, there, is the crux of asynch. »
06:11 — « Your brain operates sequentially. It places it at odds with the inherent functionality of callbacks. »
07:38 — « This paradigm is known as inversion of control, and can create significant trust issues. »
19:36 — « Asynch await is thus like promises non-blocking, and makes asynchronous code look and behave more like synchronous code. »
24:48 — « It is so easy to use asynch await that one of its slight dangers that you forget you're writing asynchronous code at all. »

Category

Technology

Video