Node.js

Node.js is a cross-platform JavaScript runtime environment that allows developers to build server-side and network applications with JavaScript. It uses the V8 Engine.

Node System

In Node, all javascript runs on the main thread, and any asynchronous functions are put on the Event Loop.

Is Node.js Multi-threaded?

Although JavaScript is a single-threaded language, Node.js uses libuv which is written in s.l.c++ (Private) and has multi-threading available. Because of that, Node.js allows multi-threading for some operations in the background, while making the overhead of handling threads non-existent.


Resources


Children
  1. CLI
  2. Deployment
  3. Error Handling
  4. Frameworks and Libraries
  5. Globals
  6. Node Internals
  7. Node Modules
  8. Node Package Manager
  9. Testing
  10. events

Backlinks