What the heck is the event loop anyway? | Philip Roberts | JSConf EU
JSConf JSConf
275K subscribers
3,324,781 views
0

 Published On Oct 9, 2014

JavaScript programmers like to use words like, “event-loop”, “non-blocking”, “callback”, “asynchronous”, “single-threaded” and “concurrency”.

We say things like “don’t block the event loop”, “make sure your code runs at 60 frames-per-second”, “well of course, it won’t work, that function is an asynchronous callback!”

If you’re anything like me, you nod and agree, as if it’s all obvious, even though you don’t actually know what the words mean; and yet, finding good explanations of how JavaScript actually works isn’t all that easy, so let’s learn!

With some handy visualisations, and fun hacks, let’s get an intuitive understanding of what happens when JavaScript runs.

Transcript: http://2014.jsconf.eu/speakers/philip...

License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.

show more

Share/Embed