Sitemap

JavaScript and Event Loops

1 min readJun 3, 2016

--

JavaScript, as noted in other posts, is hard. It handles one operation at a time, and then moves on to do something else. This can bog down or speed up your runtime respectively. The code from the server must be clean and precise for JavaScript to operate the way it is designed to do. We can get around this single operation behavior with event loops. Removing the caller from the response lets the runtime operate in conjunction with other operations. A program built around this system of call-backs allows the runtime to run though different operations while waiting for input from the network. This is highly useful in user experience programming.

--

--