14

从 JS 引擎到 JS 运行时(下)

 4 years ago
source link: https://juejin.im/post/5e33fe9f5188254dfd43de93
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
在上篇文章中,我们已经为 JS 引擎扩展出了个最简单的 Event Loop。但像这样直接基于各操作系统不尽相同的 API 自己实现运行时,无疑是件苦差。有没有什么更好的玩法呢?是时候让 libuv 粉墨登场啦。 我们知道,libuv 是 Node.js 开发

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK