Reference articles on history, science, culture and more
Encyclopedia

Libuv

Software library for asynchronous I/O

Image credit is listed at the end of this article.

libuv is a multi-platform C library that provides support for asynchronous I/O based on event loops. It supports epoll(4), kqueue(2), Windows IOCP, Solaris event ports and, since version 1.45.0, Linux io_uring for select asynchronous file operations. It is primarily designed for use in Node.js but is also used by other software projects. It was originally an abstraction around libev or Windows IOCP, as libev does not support IOCP. In node-v0.9.0's version of libuv, the dependency on libev was removed.

01Features

From:

02Origin of the name

According to libuv developer Ben Noordhuis, the name libuv originally had no specific meaning, but as people kept asking about it, they made something up. They came up with Unicorn Velociraptor, which became the logo of the library.

Watch videos about LibuvExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Libuv, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.