Node.js v7.7.4 发布

jopen 8年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/d9d39e249fe45a3a9d7fbe135ba0644e.png" /></strong></p>    <p> </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>[<a href="/misc/goto?guid=4959003579582547712"><code>f48763c5b9</code></a>] - <strong>benchmark</strong>: remove benchmarks forced optimizations (Bartosz Sosnowski)</li>     <li>[<a href="/misc/goto?guid=4959003579712746371"><code>dcac2d8f04</code></a>] - <strong>benchmark</strong>: benchmark comparing forEach with for (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003579928908360"><code>80949f3d88</code></a>] - <strong>build</strong>: add cpp linting to windows build (liusi) <a href="/misc/goto?guid=4959003580040274560">#11856</a></li>     <li>[<a href="/misc/goto?guid=4959003580142481502"><code>5244ee346b</code></a>] - <strong>build</strong>: mac OBJ_DIR should point to obj.target (Daniel Bevenius) <a href="/misc/goto?guid=4959003580248122968">#11857</a></li>     <li>[<a href="/misc/goto?guid=4959003580363806567"><code>5b1d61ce09</code></a>] - <strong>child_process</strong>: fix deoptimizing use of arguments (Vse Mozhet Byt) <a href="/misc/goto?guid=4959003580481092739">#11748</a></li>     <li>[<a href="/misc/goto?guid=4959003580585409294"><code>ca319862fd</code></a>] - <strong>deps</strong>: cherry-pick ca0f9573 from V8 upstream (Ali Ijaz Sheikh)</li>     <li>[<a href="/misc/goto?guid=4959003580698656964"><code>a7e4b029da</code></a>] - <strong>deps</strong>: Add node-inspect 1.10.6 (Jan Krems) <a href="/misc/goto?guid=4959003580803947858">#11869</a></li>     <li>[<a href="/misc/goto?guid=4959003580913770673"><code>0c00b655d8</code></a>] - <strong>doc</strong>: Fix #7065: cli help documentation for --inspect (Noj Vek) <a href="/misc/goto?guid=4959003581023602082">#11660</a></li>     <li>[<a href="/misc/goto?guid=4959003581134409420"><code>60ad7af65e</code></a>] - <strong>doc</strong>: deprecate debug protocol (Jan Krems) <a href="/misc/goto?guid=4959003581236678727">#10320</a></li>     <li>[<a href="/misc/goto?guid=4959003581353048173"><code>a5f7393541</code></a>] - <strong>doc</strong>: add vsemozhetbyt to collaborators (Vse Mozhet Byt) <a href="/misc/goto?guid=4959003581457601711">#11932</a></li>     <li>[<a href="/misc/goto?guid=4959003581571677205"><code>0c091262bd</code></a>] - <strong>doc</strong>: add note that vm module is not a security mechanism (Ruslan Bekenev) <a href="/misc/goto?guid=4959003581681034889">#11557</a></li>     <li>[<a href="/misc/goto?guid=4959003581787109378"><code>6d6a65e2ad</code></a>] - <strong>doc</strong>: linkable commit message guidelines (Sam Roberts) <a href="/misc/goto?guid=4959003581892459567">#11792</a></li>     <li>[<a href="/misc/goto?guid=4959003582004722069"><code>7c7228ed4b</code></a>] - <strong>doc</strong>: gcc version is at least 4.8.5 in BUILDING.md (detailyang) <a href="/misc/goto?guid=4959003582114099286">#11840</a></li>     <li>[<a href="/misc/goto?guid=4959003582221680122"><code>9861ec93d4</code></a>] - <strong>doc</strong>: increase Buffer.concat() documentation (cjihrig) <a href="/misc/goto?guid=4959003582327181364">#11845</a></li>     <li>[<a href="/misc/goto?guid=4959003582446802566"><code>54879ab7d1</code></a>] - <strong>doc</strong>: fix mistakes in stream doc (object mode) (Christian d'Heureuse) <a href="/misc/goto?guid=4959003582551095241">#11807</a></li>     <li>[<a href="/misc/goto?guid=4959003582661366805"><code>78ca15dd78</code></a>] - <strong>doc</strong>: argument types for dns methods (Amelia Clarke) <a href="/misc/goto?guid=4959003582764362945">#11764</a></li>     <li>[<a href="/misc/goto?guid=4959003582865315109"><code>e84e33c87c</code></a>] - <strong>doc</strong>: fix a typo in api/process.md (Gaara) <a href="/misc/goto?guid=4959003582976996945">#11780</a></li>     <li>[<a href="/misc/goto?guid=4959003583089582811"><code>75fcf53173</code></a>] - <strong>doc</strong>: missing argument types for events methods (Amelia Clarke) <a href="/misc/goto?guid=4959003583199882771">#11802</a></li>     <li>[<a href="/misc/goto?guid=4959003583314800883"><code>ae52b63df2</code></a>] - <strong>doc</strong>: correct comment error in stream.md (Alexander) <a href="/misc/goto?guid=4959003583447966877">#11804</a></li>     <li>[<a href="/misc/goto?guid=4959003583571736182"><code>e6f113d3d5</code></a>] - <strong>doc</strong>: console.log() -> console.error() in events.md (Vse Mozhet Byt) <a href="/misc/goto?guid=4959003583678572221">#11810</a></li>     <li>[<a href="/misc/goto?guid=4959003583792894300"><code>cde5d71db1</code></a>] - <strong>doc</strong>: var -> let / const in events.md (Vse Mozhet Byt) <a href="/misc/goto?guid=4959003583678572221">#11810</a></li>     <li>[<a href="/misc/goto?guid=4959003583906569318"><code>d0fb578d64</code></a>] - <strong>fs</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003584018644031"><code>14e3ad0c5e</code></a>] - <strong>inspector</strong>: proper WS URLs when bound to 0.0.0.0 (Eugene Ostroukhov) <a href="/misc/goto?guid=4959003584129298281">#11850</a></li>     <li>[<a href="/misc/goto?guid=4959003584240314908"><code>fbbcd1aa89</code></a>] - <strong>lib</strong>: Fix swallowed events in inspect integration (Jan Krems) <a href="/misc/goto?guid=4959003580803947858">#11869</a></li>     <li>[<a href="/misc/goto?guid=4959003584379432300"><code>9cc712ca18</code></a>] - <strong>lib</strong>: remove unused msg parameter in debug_agent (mr-spd) <a href="/misc/goto?guid=4959003584479430489">#11833</a></li>     <li>[<a href="/misc/goto?guid=4959003584587895139"><code>77c69f7ace</code></a>] - <strong>lib, test</strong>: add duplicate symbol checking in E() (DavidCai) <a href="/misc/goto?guid=4959003584679382250">#11829</a></li>     <li>[<a href="/misc/goto?guid=4959003584781793264"><code>7e230727fc</code></a>] - <strong>module</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003584882357851"><code>c0a2e02f51</code></a>] - <strong>net</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003584980310490"><code>a0b1aa1161</code></a>] - <strong>readline</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003585082634270"><code>e19ca8ba11</code></a>] - <strong>readline</strong>: remove unneeded eslint-disable comment (Rich Trott) <a href="/misc/goto?guid=4959003585180525430">#11836</a></li>     <li>[<a href="/misc/goto?guid=4959003585303341377"><code>62e726109a</code></a>] - <strong>repl</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003585436912385"><code>90be5a1f19</code></a>] - <strong>stream</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003585553561309"><code>2cab00aec0</code></a>] - <strong>test</strong>: fix assertion in vm test (AnnaMag) <a href="/misc/goto?guid=4959003585649245631">#11862</a></li>     <li>[<a href="/misc/goto?guid=4959003585749216953"><code>8bda7b8d39</code></a>] - <strong>test</strong>: add coverage for child_process bounds check (Rich Trott) <a href="/misc/goto?guid=4959003585834615923">#11800</a></li>     <li>[<a href="/misc/goto?guid=4959003585931351843"><code>3ae58acd29</code></a>] - <strong>test</strong>: failing behaviour on sandboxed Proxy (AnnaMag) <a href="/misc/goto?guid=4959003586019931199">#11671</a></li>     <li>[<a href="/misc/goto?guid=4959003586102976207"><code>560d8eed9a</code></a>] - <strong>test</strong>: delay child exit in AIX for pseudo-tty tests (Gireesh Punathil) <a href="/misc/goto?guid=4959003586181968684">#11715</a></li>     <li>[<a href="/misc/goto?guid=4959003586264505756"><code>f9c831f4b1</code></a>] - <strong>test</strong>: fix flaky test-domain-abort-on-uncaught (Rich Trott) <a href="/misc/goto?guid=4959003586338959606">#11817</a></li>     <li>[<a href="/misc/goto?guid=4959003586434947772"><code>2649dab274</code></a>] - <strong>test</strong>: added test for indexed properties (AnnaMag) <a href="/misc/goto?guid=4959003586513468912">#11769</a></li>     <li>[<a href="/misc/goto?guid=4959003586602524465"><code>2df662c95a</code></a>] - <strong>test</strong>: test resolveObject with an empty path (Daijiro Wachi) <a href="/misc/goto?guid=4959003586678685581">#11811</a></li>     <li>[<a href="/misc/goto?guid=4959003586757591344"><code>d2c9111614</code></a>] - <strong>test</strong>: fix repl-function-redefinition-edge-case (Alexey Orlenko) <a href="/misc/goto?guid=4959003586842458690">#11772</a></li>     <li>[<a href="/misc/goto?guid=4959003586916001099"><code>c9cf922248</code></a>] - <strong>test</strong>: add regex to assert.throws (Matej Krajčovič) <a href="/misc/goto?guid=4959003587000177430">#11815</a></li>     <li>[<a href="/misc/goto?guid=4959003587078347475"><code>5f6025ba68</code></a>] - <strong>test</strong>: fail when child dies in fork-net (Joyee Cheung) <a href="/misc/goto?guid=4959003587160660406">#11684</a></li>     <li>[<a href="/misc/goto?guid=4959003587239974384"><code>c626734409</code></a>] - <strong>tls</strong>: fix segfault on destroy after partial read (Ben Noordhuis) <a href="/misc/goto?guid=4959003587322332555">#11898</a></li>     <li>[<a href="/misc/goto?guid=4959003587395900230"><code>646ee559df</code></a>] - <strong>tls</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>     <li>[<a href="/misc/goto?guid=4959003587498199632"><code>540830116b</code></a>] - <strong>tls</strong>: keep track of stream that is closed (jBarz) <a href="/misc/goto?guid=4959003587581159642">#11776</a></li>     <li>[<a href="/misc/goto?guid=4959003587655683890"><code>9a59913039</code></a>] - <strong>util</strong>: avoid using forEach (James M Snell) <a href="/misc/goto?guid=4959003579823630284">#11582</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959003587748293371" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959003587826904968" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/7a52d7c2">http://www.open-open.com/news/view/7a52d7c2</a></p>