Why is node.js asynchronous?
Node.js runs on a single thread whilst scripting languages use multiple threads. Not technically. Node.js uses several threads, but only one execution thread. The background threads are for dealing with IO to make all of the asynchronous goodness work. Dealing with threads efficiently is a royal pain, so the next best option is to run … Read more