请问这句话什么意思?
发布于 11 年前 作者 philsong 4391 次浏览 最后一次编辑是 8 年前

Many people think windows support was the primary reason for building libuv. But that’s not the whole story. When work on libuv started node was already mostly working on windows and part of the fast IOCP backend was also ready. The reason to put it all in libuv was to make node’s platform code more manageable.

http://www.2bs.nl/nodeconf2012/#7

2 回复

意思是其实完成了,做这玩意是为了node平台的更好管理,所以libuv是重构的结果?

(翻译加脑补) 很多人认为搞 libuv 的主要原因是为了支持 windows, 你们多虑了, 是有这么个故事但不是全部. 其实 libuv 在开工时, node 差不多已经能在 windows 上玩得风生水起了, 高速 IOCP 的后端也已经部分就绪. 把这些已经搞定的东西全部塞进 libuv 的目的, 是为了让 node 的平台代码管理起来更加简单.

弱弱问下 libuv 干啥的?..

回到顶部