发布于 2015-03-31 22:48:49 | 172 次阅读 | 评论: 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 1.6.3 发布,此版本值得关注的更新如下:
fs: corruption can be caused by fs.writeFileSync()
and append-mode fs.writeFile()
and fs.writeFileSync()
under certain circumstances, reported in #1058, fixed in #1063 (Olov Lassus).
iojs: an "internal modules" API has been introduced to allow core code to share JavaScript modules internally only without having to expose them as a public API, this feature is for core-only #848 (Vladimir Kurchatkin).
timers: two minor problems with timers have been fixed:
Windows: a "delay-load hook" has been added for compiled add-ons on Windows that should alleviate some of the problems that Windows users may be experiencing with add-ons in io.js #1251 (Bert Belder).
V8: minor bug-fix upgrade for V8 to 4.1.0.27.
npm: upgrade npm to 2.7.4. See npm CHANGELOG.md for details. Summary:
1549106
#7641 Due to 448efd0, running npm shrinkwrap --dev
caused production dependencies to no longer be included in npm-shrinkwrap.json
. Whoopsie! (@othiym23)
fb0ac26
#7579 Only block removing files and links when we're sure npm isn't responsible for them. This change is hard to summarize, because if things are working correctly you should never see it, but if you want more context, just go read the commit message, which lays it all out. (@othiym23)
051c473
#7552 bundledDependencies
are now properly included in the installation context. This is another fantastically hard-to-summarize bug, and once again, I encourage you to read the commit message if you're curious about the details. The snappy takeaway is that this unbreaks many use cases for ember-cli
. (@othiym23)
fe1bc38
#7672 npm-registry-client@3.1.2
: Fix client-side certificate handling by correcting property name. (@atamon)
89ce829
#7630 hosted-git-info@1.5.3
: Part 3 of ensuring that GitHub shorthand is handled consistently. (@othiym23)
63313eb
#7630 realize-package-specifier@2.2.0
: Part 2 of ensuring that GitHub shorthand is handled consistently. (@othiym23)
3ed41bf
#7630 npm-package-arg@3.1.1
: Part 1 of ensuring that GitHub shorthand is handled consistently. (@othiym23)
详细更新内容请看更新日志。
此版本现已提供下载:https://github.com/iojs/io.js/archive/v1.6.3.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规范上的新特性。
构建要求:
* `gcc` and `g++` 4.8 or newer, or
* `clang` and `clang++` 3.3 or newer
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)