libuv

維基百科,自由的百科全書
跳至導覽 跳至搜尋

libuv
File:Libuv.svg
目前版本
    Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
    原始碼庫
    • {{URL|example.com|可选的显示文本}}
    Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
    程式語言C
    引擎
      Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
      作業系統跨平台
      平台LinuxAndroidWindowsOS X/Darwin[1]FreeBSDOpenBSD
      類型I/O抽象
      許可協定MIT

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

      特徵[編輯]

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

      參見[編輯]

      參照[編輯]

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

      外部連結[編輯]