Asynchrony: Under the Hood - Shelley Vohr - JSConf EU

Published: 27 June 2018
on channel: JSConf
136,133
like

This talk will explore the conceptual underpinnings of asynchronous programming options, and the drawbacks and advantages to each. JS has supported callbacks since 2009, and as years have gone by it’s added support for promises, generators, and now async/await. On a surface level, each of these techniques seeks to answer a question of how to access data not immediately available, but a deeper look into how each works on a granular level will show their implementation differences and how these differences affect usage. We’ll also take a look at how intermediate values, and errors are affected by each method. I’ll walk through a series of scenarios so you can better visualize performance differences, and how each method propagates data through the stack and the event loop. Finally, I’ll talk about where the future of async may be headed. Armed with new knowledge from this deep dive, the potentially treacherous road to fully understanding async will hopefully become a smoother ride!

OMG JSConf EU is coming back in 2019 https://2019.jsconf.eu/


Watch video Asynchrony: Under the Hood - Shelley Vohr - JSConf EU online without registration, duration hours minute second in high quality. This video was added by user JSConf 27 June 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 136,133 once and liked it like people.