What the heck is the event loop anyway? | Philip Roberts | JSConf EU - YouTube
JavaScript programmers like to use words like, “event-loop”, “non-blocking”, “callback”, “asynchronous”, “single-threaded” and “concurrency”.We say things li...
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…
saved by
related reading
- The Event Loop and Callback Hell - Wes Boswesbos.com
- Microtasks and event looptr.javascript.info
- (Quite) A Few Words About Asyncyoric.github.io
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- 7 Principles of Rich Web Applicationsrauchg.com
- TypeScript Structured Concurrencythecandidstartup.org
- Introduction to events - Learn web development | MDNdeveloper.mozilla.org
- Reading 15: Promisesweb.mit.edu
- Reading 17: Callbacks and Graphical User Interfacesweb.mit.edu
- What Async Promised and What it Delivered — Causalitycausality.blog
- Get better at programming by learning how things workjvns.ca
- Y: The Most Beautiful Idea in Computer Science explained in JavaScriptlucasfcosta.com