发布于 2015-05-08 03:22:17 | 115 次阅读 | 评论: 0 | 来源: 网友投递
IO.js 服务器端 JS 引擎
IO.js 是为 V8 引擎编写的基于事件 IO 的实现。io.js可以说是彻底从NodeJS里分离出来的一条分支。既然是分支,io.js便也基本兼容NodeJS的各种API,连执行指令也依旧兼容Node的 node XXX (新指令是 iojs XXX )。不过io.js采纳了最新版本的V8引擎,并也将会时刻跟进V8的更新,也因此我们可以轻松地在io.js上抢先使用那些JavaScript ECMA-262规范上的新特性。
io.js 2.0.1 发布,此版本值得关注的更新如下:
async_wrap: (Trevor Norris) #1614
it is now possible to filter by providers
bit flags have been removed and replaced with method calls on the binding object
note that this is an unstable API so feature additions and breaking changes won't change io.js semver
libuv: resolves numerous io.js issues:
addons: the NODE_DEPRECATED
macro was causing problems when compiling addons with older compilers, this should now be resolved (Ben Noordhuis) #1626
V8: upgrade V8 from 4.2.77.18 to 4.2.77.20 with minor fixes, including a bug preventing builds on FreeBSD
详细更新内容请看更新日志。
此版本现已提供下载:https://github.com/iojs/io.js/archive/v2.0.1.zip。
IO.js 是为 V8 引擎编写的基于事件 IO 的实现。io.js可以说是彻底从NodeJS里分离出来的一条分支。既然是分支,io.js便也基本兼容NodeJS的各种API,连执行指令也依旧兼容Node的 node XXX (新指令是 iojs XXX )。不过io.js采纳了最新版本的V8引擎,并也将会时刻跟进V8的更新,也因此我们可以轻松地在io.js上抢先使用那些JavaScript ECMA-262规范上的新特性。