libuvUnicorn Velociraptor—獨角伶盜龍[3])庫是多平台C庫,提供對基於事件迴圈非同步I/O的支援。它支援epoll(4)kqueue(2)、Windows的IOCPSolaris的事件埠。它主要設計用於Node.js,但也可用於其他軟體專案,例如Lua的Luvit[4]JuliaPython的uvloop[5]。它最初是libev或Microsoft IOCP上的抽象,libev只支援Unix系統而不支援Windows上的IOCP,在node-v0.9.0的libuv版本中去除了對libev的依賴[6]

libuv
目前版本
  • 1.48.0 (2024年2月7日;穩定版本)[1]
編輯維基數據鏈結
原始碼庫 編輯維基數據鏈結
程式語言C
作業系統跨平台
平台LinuxAndroidWindowsOS X/Darwin[2]FreeBSDOpenBSD
類型I/O抽象
許可協定MIT
網站libuv.org/ 編輯維基數據

特徵 編輯

下述特徵取自代碼倉庫介紹[2]

參見 編輯

參照 編輯

  1. ^ 1.0 1.1 Release v1.48.0: 2024.02.07, Version 1.48.0 (Stable). 
  2. ^ 2.0 2.1 The libuv project page and source code. GitHub. [30 June 2016]. (原始內容存檔於2021-01-19). 
  3. ^ Welcome to the libuv documentation — libuv documentation. docs.libuv.org. [2017-07-24]. (原始內容存檔於2020-11-26) (英語). 
  4. ^ Luvit - Asynchronous I/O for Lua. [2023-03-25]. (原始內容存檔於2023-05-17). 
  5. ^ uvloop is a fast, drop-in replacement of the built-in asyncio event loop. [2023-03-25]. (原始內容存檔於2023-05-25). 
  6. ^ An introduction to libuv. [2019-05-28]. (原始內容存檔於2018-03-12). 

外部連結 編輯