In this talk we'll discuss 5 alternative approaches to handle async operations in JavaScript: callbacks, events, promises, coroutines and reactive streams. None of them is either legacy or a silver bullet - a good dev needs to pick the right tool for the job.

However, in order to understand them, we must step back to fundamentals all these rely on: the mechanics of event loop and run to completion rule, as well as learn to distinguish between sync and async flow. Then we proceed to design patterns built on top of each of the 5 approaches, discussing their strengths and limitations.

JavaScript is getting more and more complex each year. But no matter if you’re an expert or a novice JS developer, you’ll easily get the essence on Asynchronous JavaScript.

Comments

Comments are closed.

Koen Cornelis at 16:41 on 7 Jun 2019

great talk, with the best explanation i've heard so far about generators and asyn/await. Too bad we didn't get to the really cool parts.

Boy Baukema at 11:24 on 8 Jun 2019

You could really tell this speaker was very knowledgeable and his presentation materials were excellent. Would've very much liked to see the second part though.

Joop Lammerts at 10:36 on 9 Jun 2019

For a PHP developer it always surprises me how JavaScript works. Tomasz did a wonderful explanation on how the two languages differ and how de JS community is struggling with the concept of the event loop. His insights will help me to write better JavaScript in the future. But I would love to see an actual example with an Ajax request fetching data and rendering some part of the DOM.

Bart V at 19:29 on 10 Jun 2019

Too much slides for 45min. Too bad cause at the end it became really interesting.

I'm sorry, you lost me on this talk. Too many subjects and because you wanted to cover so much ground you were just going too fast for me to fully comprehend it. I feel like you didn't practice the talk before because even in 60 minutes you were not nearly finished with the slides...

This is a shame because you seem very knowledgable and have an interesting topic that many of us can learn from.

Rob Smeets at 17:02 on 11 Jun 2019

Nice overview of this subject.