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). 

      外部链接[编辑]