Posts Exploring nodeJS Internals
Post
Cancel

Exploring nodeJS Internals

V8 is the name of the JavaScript engine that powers Google Chrome. It’s the thing that takes our JavaScript and executes it while browsing with Chrome.

V8 provides the runtime environment in which JavaScript executes. The DOM, and the other Web Platform APIs are provided by the browser.

The cool thing is that the JavaScript engine is independent of the browser in which it’s hosted. This key feature enabled the rise of Node.js. V8 was chosen to be the engine that powered Node.js back in 2009, and as the popularity of Node.js exploded, V8 became the engine that now powers an incredible amount of server-side code written in JavaScript. src

Libuv is an open-source library that handles the thread-pool, doing signaling, inter process communications all other magic needed to make the asynchronous tasks work at all. Libuv was originally developed for Node.js itself as an abstraction around libev (written in C).

nodeJS is the glue that holds the two libraries together, thereby becoming a unique solution

https://www.smashingmagazine.com/2020/04/nodejs-internals/

#require #fs

origin - https://www.pipiscrew.com/?p=18326 exploring-nodejs-internals

This post is licensed under CC BY 4.0 by the author.
Contents

Trending Tags