Libuv
| libuv | |
|---|---|
| Stable release | 1.52.1[1] |
| Written in | C |
| Operating system | Cross-platform |
| Platform | Linux, Android, Windows and OS X/Darwin,[2] FreeBSD, OpenBSD |
| Type | I/O abstraction library |
| License | MIT |
| Website | libuv |
| Repository | |
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 Linux io_uring. It is primarily designed for use in Node.js but is also used by other software projects.[3] 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.[4]
Features
From:[2]
- Full-featured event loop backed by epoll, kqueue, IOCP, or event ports
- Asynchronous TCP and UDP sockets
- Asynchronous DNS resolution
- Asynchronous file and file system operations
- File system events
- ANSI escape code controlled TTY
- IPC with socket sharing, using Unix domain sockets or named pipes (Windows)
- Child processes
- Thread pool
- Signal handling
- High resolution clock
- Threading and synchronization primitives
Origin 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.[5]
See also
References
- ^ libuv. "Release v1.52.1: 2026.03.06, Version 1.52.1 (Stable) · libuv/libuv". Retrieved 7 March 2026.
- ^ a b "The libuv project page and source code". GitHub. Retrieved 30 June 2016.
- ^ "Projects that use libuv". libuv GitHub project page. Retrieved 13 January 2025.
- ^ An introduction to libuv
- ^ "What does UV stand for in libuv?". groups.google.com. Retrieved 7 June 2022.
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.