# 05. Runtime Execution

## JavaScript Execution

### Articles

* [https://medium.com/@olinations/the-javascript-runtime-environment-d58fa2e60dd0](https://medium.com/@olinations/the-javascript-runtime-environment-d58fa2e60dd0)&#x20;
* [http://dolszewski.com/javascript/javascript-runtime-environment/](http://dolszewski.com/javascript/javascript-runtime-environment/)
* [Как работает JS: обзор движка, механизмов времени выполнения, стека вызовов](https://habrahabr.ru/company/ruvds/blog/337042/)
* [Как работает JS: о внутреннем устройстве V8 и оптимизации кода](https://habrahabr.ru/company/ruvds/blog/337460/)
* [Как работает JS: управление памятью, четыре вида утечек памяти и борьба с ними](https://habrahabr.ru/company/ruvds/blog/338150/)

### Tutorials

* [ ] [How JavaScript Works](https://blog.sessionstack.com/tagged/tutorial) by SessionStack

### Videos

* [ ] [Jake Archibald: In The Loop - JSConf.Asia 2018](https://www.youtube.com/watch?v=cCOL7MC4Pl0)
* [ ] [JavaScript engines - how do they even?](https://www.youtube.com/watch?v=p-iiEDtpy6I)

## NodeJS Event Loop

### Videos

* [x] [Everything You Need to Know About Node.js Event Loop](https://www.youtube.com/watch?v=PNa9OMajw9w)
* [x] [Node's Event Loop From the Inside Out](https://www.youtube.com/watch?v=P9csgxBgaZ8)

### Articles

* [x] [The Node.js Event Loop, Timers, and `process.nextTick()`](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/), [перевод](https://medium.com/devschacht/event-loop-timers-and-nexttick-18579cd122e0).
* [x] [`libuv` design overview](http://docs.libuv.org/en/v1.x/design.html)
* [x] [Знай свой инструмент: Event Loop в libuv](https://habrahabr.ru/post/336498/)
* [x] [What you should know to really understand the Node.js Event Loop](https://medium.com/the-node-js-collection/what-you-should-know-to-really-understand-the-node-js-event-loop-and-its-metrics-c4907b19da4c)
* [x] [Don't Block the Event Loop (or the Worker Pool)](https://nodejs.org/en/docs/guides/dont-block-the-event-loop/)

## Browser Event Loop

### Videos

* [x] [What the heck is the event loop anyway?](https://www.youtube.com/watch?v=8cV4ZvHXQL4)
* [ ] [Help, I’m stuck in an event-loop.](https://vimeo.com/96425312)

### Articles

* [ ] [Как работает JS: о внутреннем устройстве V8 и оптимизации кода](https://habrahabr.ru/company/ruvds/blog/337460/)
* [ ] [Tasks, microtasks, queues and schedules](https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/)
* [ ] [MDN - Concurrency model and Event Loop](https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop)
* [ ] [WebApi Event Loop spec](https://html.spec.whatwg.org/multipage/webappapis.html#event-loop)
* [ ] [Asynchronous in the Browser by Dave Atchley](http://www.datchley.name/asynchronous-in-the-browser/)

### Playground

* [Loupe](http://latentflip.com/loupe)

