发布于 2015-03-20 00:48:47 | 199 次阅读 | 评论: 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.0 发布,此版本现已提供下载:https://github.com/iojs/io.js/archive/v1.6.0.zip

值得关注的更新如下:

  • node: a new -r or --require command-line option can be used to pre-load modules at start-up (Ali Ijaz Sheikh) #881.

  • querystring: parse() and stringify() are now faster (Brian White) #847.

  • http: the http.ClientRequest#flush() method has been deprecated and replaced with http.ClientRequest#flushHeaders() to match the same change now in Node.js v0.12 as per joyent/node#9048 (Yosuke Furukawa) #1156.

  • net: allow server.listen() to accept a String option for port, e.g. { port: "1234" }, to match the same option being accepted in net.connect() as of joyent/node#9268 (Ben Noordhuis) #1116.

  • tls: further work on the reported memory leak although there appears to be a minor leak remaining for the use-case in question, track progress at #1075.

  • v8: backport a fix for an integer overflow when --max_old_space_size values above 4096 are used (Ben Noordhuis) #1166.

  • platforms: the io.js CI system now reports passes on FreeBSD and SmartOS (Solaris).

  • npm: upgrade npm to 2.7.1. See npm CHANGELOG.md for details. Summary:

    • 6823807 #7121 npm install --save for Git dependencies saves the URL passed in, instead of the temporary directory used to clone the remote repo. Fixes using Git dependencies when shrinkwwapping. In the process, rewrote the Git dependency caching code. Again. No more single-letter variable names, and a much clearer workflow. (@othiym23)

    • abdd040 read-package-json@1.3.2: Provide more helpful error messages when JSON parse errors are encountered by using a more forgiving JSON parser than JSON.parse. (@smikes)

    • c56cfcd #7525 npm dedupe handles scoped packages. (@KidkArolis)

    • 4ef1412 #7075 If you try to tag a release as a valid semver range, npm publish and npm tag will error early instead of proceeding. (@smikes)

更多内容请看发行说明

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)



历史版本 :
IO.js v5.8.1-rc.1 发布
IO.js v3.3.1 发布,服务器 JS 引擎
Io.js v3.3.0 发布,服务器 JS 引擎
io.js 3.0.0 发布下载,服务器引擎
io.js 3.0.0 RC7 发布下载,服务器引擎
io.js 2.5.0 发布,服务器 JS 引擎
io.js 3.0.0 RC5 发布,服务器引擎
io.js 3.0.0 RC4 发布,服务器引擎
io.js 2.4.0 发布,服务器 JS 引擎
io.js 3.0.0 RC3 发布,服务器引擎
io.js 2.3.4/1.8.4 发布,服务器 JS 引擎
io.js 2.3.3/1.8.3 发布,服务器 JS 引擎
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务