May 31, 2020 in Node.Js
Q:

What is libuv?

1 Answer

0 votes
May 31, 2020

libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it’s also used by Luvit, Julia, pyuv, and others.

When the node.js project began in 2009 as a JavaScript environment decoupled from the browser, it is using Google’s V8 and Marc Lehmann’s libev, node.js combined a model of I/O – evented – with a language that was well suited to the style of programming; due to the way it had been shaped by browsers. As node.js grew in popularity, it was important to make it work on Windows, but libev ran only on Unix. libuv was an abstraction around libev or IOCP depending on the platform, providing users an API based on libev. In the node-v0.9.0 version of libuv libev was removed.

Some of the features of libuv are:

Full-featured event loop backed by epoll, kqueue, IOCP, event ports.

Asynchronous TCP and UDP sockets

Asynchronous file and file system operations

Child processes

File system events

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
May 31, 2020 in Node.Js
+1 vote
May 31, 2020 in Node.Js
...