Re:Populating the page: how browsers work
by eyelidlessness on Friday October 13, 2023 @12:10PM
(#37872157)
It doesn’t simulate, and the “flicker” is named “event loop”, but otherwise you’ve got it right. The concurrency model is essentially cooperative, ie pending tasks wait for the current task on the event loop to unblock, and then they are each executed in turn (with several different scheduling priorities based on how they became pending, eg synchronous event callbacks, Promises, various timers).
[ Parent
| on HN ]
There are no comments on this comment yet.