Node is a programming language or a framework. What is node exactly?
Node is a runtime environment that uses chrome V8 JS engine for executing javascript code outside the browser.Story of Node
All
web browser is having a javascript engine that will compile javascript
code into Machine code and the only possible way to execute javascript
was inside a browser, So most of the functionalities like reading a
file, Writing to a file was not possible
So
the creator of Node.js (Ryan Dahl) create a runtime environment that
will help us to run JS code outside the browser and he uses Chrome V8
engine.
Why V8 engine?
V8
engine is the fastest javascript engine for executing javascript code,
So Ryan Dahl took V8 engine and embed it with C++ program and named it
as Node.js.
No comments:
Post a Comment