Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

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

    JSConf

    16 HN recommenders · recommended in 17 months, 2015–2025

    YouTube

    26:53 · 3.8M views · Oct 9, 2014

    Philip Roberts explains the JavaScript event loop, call stack, callbacks and asynchronous behavior with live visualizations using a tool he built. It demystifies terms like non-blocking and single-threaded.

    HN commenters repeatedly name it as the best explanation of the JS event loop and the first thing to watch before tackling async code.

    Software Engineering & LanguagesWeb developmentPython, Ruby & scripting languages
    1. 35:12
      Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ...JSConf808K views • 8 years ago
    2. 2:12:42
      Build Your Own AsyncDavid Beazley60K views • 7 years ago
    3. 46:10
      Understanding the Python GILDavid Beazley127K views • 14 years ago
    4. 26:42
      10 Things I Regret About Node.js - Ryan Dahl - JSConf EUJSConf662K views • 8 years ago
    5. 48:32
      Ryan Dahl: Node JSJSConf35K views • 14 years ago
    6. 3:32:50
      JavaScript: Understanding the Weird Parts - The First 3.5 HoursTony Alicea4.2M views • 11 years ago
    7. 36:31
      Hey Underscore, You're Doing It Wrong!InfoQ141K views • 13 years ago
    8. 28:39
      Netflix JavaScript Talks - Async JavaScript with Reactive ExtensionsMatt Marenghi70K views • 12 years ago
    9. 33:25
      Dan Abramov: Beyond React 16 | JSConf IcelandJSConf139K views • 8 years ago
    10. 40:55
      "Controlling Time and Space: understanding the many formulations of FRP" by Evan CzaplickiStrange Loop Conference69K views • 12 years ago
    11. 32:17
      Nathaniel J. Smith - Trio: Async concurrency for mere mortals - PyCon 2018PyCon 201830K views • 8 years ago
    12. 1:06:34
      Introduction to Node.js with Ryan DahlInfoQ758K views • 15 years ago
    13. 27:21
      Daniel Henry Holmes Ingalls Jr.: The Live Web. Drag 'n drop in the cloudJSConf8.3K views • 13 years ago
    14. 41:06
      "Unison: a new distributed programming language" by Paul ChiusanoStrange Loop Conference45K views • 7 years ago
    15. 35:24
      The Unreasonable Effectiveness of Multiple Dispatch | Stefan Karpinski | JuliaCon 2019The Julia Programming Language79K views • 7 years ago
    16. 43:04
      "Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)Strange Loop Conference468K views • 4 years ago
    17. 53:22
      Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim WeirichConfreaks66K views • 13 years ago
    18. 57:50
      ElixirConf 2018 - Keynote - Chris McCordElixirConf32K views • 8 years ago
    19. 58:08
      Parallelism, Concurrency, and Asynchrony in Perl 6 / Jonathan Worthingtonyapcasia6K views • 11 years ago
    20. 1:06:46
      Crockford on JavaScript - Section 8: Programming Style & Your BrainYUI Library111K views • 14 years ago

    20 comments from Hacker News

    1. @lollipop25Mar 2016· in “Ask HN: How do I go about truly “understanding” JavaScript, or any language?”

      > How do I take, say JS, and learn it to the point where it really clicks to the point where I can visualize what's going on under the hood when I write programs? Learn how a JS engine works. Any engine will do, although V8 is very discussed on the internet. Here's a few things to get started with: - How the event loop works ( this video ). This show how JS works under the hood, what's part of "JS" and what's extended, how async operations are scheduled on a single thread. After watching this, everything will just "click". - How objects are represented in V8 ( [LINK] ). It's v8-specific but nevertheless tells you how objects are represented in memory. Keeping these concepts in mind, you will be able to write efficient code on the get-go. - ES6 spec ( [LINK] ). Optional reading (if you want to read 500+ pages), but it's a handy reference when in doubt. You can literally slap this thing to a person who doesn't know what they're talking about. Not that you should, but backing evidence is always great.

      Strongly recommendsView on HN
    2. @_bxg1Feb 2020· in “Ask HN: How do I learn JavaScript?”

      I got to know the nuances of the language by working with it for years and having to figure out why various things didn't work at different points, but it doesn't sound like that's your style. This isn't comprehensive, but it's probably the most helpful deep-dive I've ever seen about some aspect of JavaScript. It's about the Event Loop, which is one of the biggest differences between JS and comparable languages like Python: this video Contrary to what you might think, even though the event loop is in some sense "distinct from the language", it isn't simply an API. You can't really have JavaScript without the event loop; it exists in both the browser and in Node, and is the basis for most of the language's advantages.

      Strongly recommendsView on HN
    3. @zappo2938Oct 2016· in “Understanding Async JavaScript”

      The corner stone of understand async JavaScript code is a deep understanding what happens under the hood with the Event loop. Philip Roberts has a great lecture called what the heck is the event loop anyway? [1] Once that video is watched once, everything else just makes sense. [1] this video

      Strongly recommendsView on HN
    4. @keyvinOct 2018· in “Ask HN: What are some of the best technical talks you've heard?”

      Another event loop talk from Philip Roberts. The tool he created to display the event loop in real time is fantastic. this video

      Strongly recommendsView on HN
    5. @krisgenreNov 2020· in “How does the event loop work in JavaScript? [video]”

      This one is my all time favorite - What the heck is the event loop anyway? | Philip Roberts | JSConf EU this video

      Strongly recommendsView on HN