What is nodejs?


I was confused for a long time about where to categorize nodejs.

Some people called it server side language, which ofcourse is not true.

Nodejs.org defined nodejs as -

a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

For me nodejs is something which gives javascript IO capabilities. ECMAscript has nothing at all defined for IO in javascript. Ryan Dahl was smart to add async IO to existing javascript, leveraged Google V8’s speed and came out with a kickass technology.