Node.js v6.3.0 发布
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/d9d39e249fe45a3a9d7fbe135ba0644e.png" /></p> <p>看到Node.js这个名字,初学者可能会误以为这是一个Javascript应用,事实上,Node.js采用C++语言编写而成,是一个Javascript的运行环境。为什么采用C++语言呢?据Node.js创始人Ryan Dahl回忆,他最初希望采用Ruby来写Node.js,但是后来发现Ruby虚拟机的性能不能满足他的要求,后来他尝试采用V8引擎,所以选择了C++语言。既然不是Javascript应用,为何叫.js呢?因为Node.js是一个Javascript的运行环境。Node.js是一个后端的Javascript运行环境(支持的系统包括Linux、Windows和Mac等),这意味着你可以编写系统级或者服务器端的Javascript代码,交给Node.js来解释执行,Node.js采用了Google Chrome浏览器的V8引擎,性能很好,同时还提供了很多系统级的API,如文件操作、网络编程等。浏览器端的Javascript代码在运行时会受到各种安全性的限制,对客户系统的操作有限。相比之下,Node.js则是一个全面的后台运行时,为Javascript提供了其他语言能够实现的许多功能。</p> <h2>更新日志</h2> <ul> <li><strong>buffer</strong>: Added <code>buffer.swap64()</code> to compliment <code>swap16()</code> & <code>swap32()</code>. (Zach Bjornson) <a href="/misc/goto?guid=4958991935868033575">#7157</a></li> <li><strong>build</strong>: New <code>configure</code> options have been added for building Node.js as a shared library. (Stefan Budeanu) <a href="/misc/goto?guid=4958991935982040542">#6994</a> <ul> <li>The options are: <code>--shared</code>, <code>--without-v8-platform</code> & <code>--without-bundled-v8</code>.</li> </ul> </li> <li><strong>crypto</strong>: Root certificates have been updated. (Ben Noordhuis) <a href="/misc/goto?guid=4958991936087580306">#7363</a></li> <li><strong>debugger</strong>: The server address is now configurable via <code>--debug=<address>:<port></code>. (Ben Noordhuis) <a href="/misc/goto?guid=4958991936191072147">#3316</a></li> <li><strong>npm</strong>: Upgraded npm to v3.10.3 (Kat Marchán) <a href="/misc/goto?guid=4958991936304575558">#7515</a> & (Rebecca Turner) <a href="/misc/goto?guid=4958991936400710587">#7410</a></li> <li><strong>readline</strong>: Added the <code>prompt</code> option to the readline constructor. (Evan Lucas) <a href="/misc/goto?guid=4958991936508787929">#7125</a></li> <li><strong>repl / vm</strong>: <code>sigint</code>/<code>ctrl+c</code> will now break out of infinite loops without stopping the Node.js instance. (Anna Henningsen)<a href="/misc/goto?guid=4958991936614486259">#6635</a></li> <li><strong>src</strong>: <ul> <li>Added a <code>node::FreeEnvironment</code> public C++ API. (Cheng Zhao) <a href="/misc/goto?guid=4958991936716437298">#3098</a></li> <li>Refactored <code>require('constants')</code>, constants are now available directly from their respective modules. (James M Snell) <a href="/misc/goto?guid=4958991936822958376">#6534</a></li> </ul> </li> <li><strong>stream</strong>: Improved <code>readable.read()</code> performance by up to 70%. (Brian White) <a href="/misc/goto?guid=4958991936931722834">#7077</a></li> <li><strong>timers</strong>: <code>setImmediate()</code> is now up to 150% faster in some situations. (Andras) <a href="/misc/goto?guid=4958991937027115699">#6436</a></li> <li><strong>util</strong>: Added a <code>breakLength</code> option to <code>util.inspect()</code> to control how objects are formatted across lines. (cjihrig) <a href="/misc/goto?guid=4958991937127739935">#7499</a></li> <li><strong>v8-inspector</strong>: Experimental support has been added for debugging Node.js over the inspector protocol. (Ali Ijaz Sheikh)<a href="/misc/goto?guid=4958991937244299527">#6792</a> <ul> <li><strong>Note: This feature is <em>experimental</em>, and it could be altered or removed.</strong></li> <li>You can try this feature by running Node.js with the <code>--inspect</code> flag.</li> </ul> </li> </ul> <h2>下载</h2> <table> <tbody> <tr> <th>Windows Installer (.msi)</th> <td colspan="3"><a href="/misc/goto?guid=4958991937332293067">32-bit</a></td> <td colspan="3"><a href="/misc/goto?guid=4958991937441669656">64-bit</a></td> </tr> <tr> <th>Windows Binary (.exe)</th> <td colspan="3"><a href="/misc/goto?guid=4958991937539195442">32-bit</a></td> <td colspan="3"><a href="/misc/goto?guid=4958991937643695187">64-bit</a></td> </tr> <tr> <th>Mac OS X Installer (.pkg)</th> <td colspan="6"><a href="/misc/goto?guid=4958991937744284299">64-bit</a></td> </tr> <tr> <th>Mac OS X Binaries (.tar.gz)</th> <td colspan="6"><a href="/misc/goto?guid=4958991937852213019">64-bit</a></td> </tr> <tr> <th>Linux Binaries (.tar.xz)</th> <td colspan="3"><a href="/misc/goto?guid=4958991937949523855">32-bit</a></td> <td colspan="3"><a href="/misc/goto?guid=4958991938055270413">64-bit</a></td> </tr> <tr> <th>Source Code</th> <td colspan="6"><a href="/misc/goto?guid=4958991938156509369">node-v6.3.0.tar.gz</a></td> </tr> </tbody> </table> <h3>其他平台</h3> <table> <tbody> <tr> <th>ARM Binaries (.tar.xz)</th> <td colspan="2"><a href="/misc/goto?guid=4958991938255408770">ARMv6</a></td> <td colspan="2"><a href="/misc/goto?guid=4958991938354235551">ARMv7</a></td> <td colspan="2"><a href="/misc/goto?guid=4958991938465194586">ARMv8</a></td> </tr> <tr> <th>SunOS Binaries (.tar.xz)</th> <td colspan="3"><a href="/misc/goto?guid=4958991938563273846">32-bit</a></td> <td colspan="3"><a href="/misc/goto?guid=4958991938670720291">64-bit</a></td> </tr> <tr> <th>Docker Image</th> <td colspan="6"><a href="/misc/goto?guid=4958990396897659896">Official Node.js Docker Image</a></td> </tr> <tr> <th>Linux on Power Systems</th> <td colspan="3"><a href="/misc/goto?guid=4958991938845638500">64-bit le</a></td> <td colspan="3"><a href="/misc/goto?guid=4958991938967205717">64-bit be</a></td> </tr> <tr> <th>Linux on System z</th> <td colspan="6"><a href="/misc/goto?guid=4958990397085165230">Download (Unofficial, provided by IBM)</a></td> </tr> <tr> <th>AIX on Power Systems</th> <td colspan="6"><a href="/misc/goto?guid=4958990397085165230">Download (Unofficial, provided by IBM)</a></td> </tr> </tbody> </table>