HN Hall of Fame Weekly email

Explaining the browser's event loop, tasks, and microtasks

jakearchibald.com Books & learning Tutorials & guides Web & internet Candidate
Screenshot of jakearchibald.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
7
submitters
7
observed span
2015–2023
peak thread · 21 comments
152 pts
latest 20+ return · 2023-06-28
26 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I've been trying to explain the JS event loop to a couple of our interns recently and this is an amazing illustration of the basics and the not-so-basics. Thanks!

azundo·152-point thread·

I didn't realize why my browsers (Firefox, iOS Safari) were correctly handling the tests, despite the article indicating they were not compliant. Then I realized the article is from 2015. The content is still really useful, though. A good understanding of JS tasks & microtasks and HTML jobs is really useful for diagnosing the inevitable front-end weirdness encountered during development when using any of the major frontend frameworks (which contain a lot of abstraction that separates the developer from these…

cmpb·126-point thread·

I don't get the point why to predict the execution order in some asynchronous code?

dayjaby·26-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
311

reference only — not used in Hall rules or ranking

Total comments
33

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2015-08-17Explaining the browser's event loop, tasks, and microtasksFirst breakout · Best threadjaffathecake15221
2017-05-24Tasks, microtasks, queues and schedulesbpierre20
2018-07-10Tasks, microtasks, queues and scheduleskoolba10
2019-02-09Tasks, microtasks, queues and schedules (2015)zwliew20
2019-10-08Tasks, microtasks, queues and schedules (2015)gurpreetsatwal20
2021-02-22Tasks, microtasks, queues and schedules (2015)rbanffy12610
2023-06-28Tasks, microtasks, queues and schedules (2015)Latest 20+ point returnnvahalik262