8

What the heck is the event loop anyway? | Philip Roberts | JSConf EU

 2 years ago
source link: https://www.youtube.com/watch?v=8aGhZQkoFbQ
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

What the heck is the event loop anyway? | Philip Roberts | JSConf EU

1,845,180 views
•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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK