Node.js v7.7.4 發布

jopen 7年前發布 | 12K 次閱讀 Node.js JavaScript

 

看到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提供了其他語言能夠實現的許多功能。

更新日志

  • [f48763c5b9] - benchmark: remove benchmarks forced optimizations (Bartosz Sosnowski)
  • [dcac2d8f04] - benchmark: benchmark comparing forEach with for (James M Snell) #11582
  • [80949f3d88] - build: add cpp linting to windows build (liusi) #11856
  • [5244ee346b] - build: mac OBJ_DIR should point to obj.target (Daniel Bevenius) #11857
  • [5b1d61ce09] - child_process: fix deoptimizing use of arguments (Vse Mozhet Byt) #11748
  • [ca319862fd] - deps: cherry-pick ca0f9573 from V8 upstream (Ali Ijaz Sheikh)
  • [a7e4b029da] - deps: Add node-inspect 1.10.6 (Jan Krems) #11869
  • [0c00b655d8] - doc: Fix #7065: cli help documentation for --inspect (Noj Vek) #11660
  • [60ad7af65e] - doc: deprecate debug protocol (Jan Krems) #10320
  • [a5f7393541] - doc: add vsemozhetbyt to collaborators (Vse Mozhet Byt) #11932
  • [0c091262bd] - doc: add note that vm module is not a security mechanism (Ruslan Bekenev) #11557
  • [6d6a65e2ad] - doc: linkable commit message guidelines (Sam Roberts) #11792
  • [7c7228ed4b] - doc: gcc version is at least 4.8.5 in BUILDING.md (detailyang) #11840
  • [9861ec93d4] - doc: increase Buffer.concat() documentation (cjihrig) #11845
  • [54879ab7d1] - doc: fix mistakes in stream doc (object mode) (Christian d'Heureuse) #11807
  • [78ca15dd78] - doc: argument types for dns methods (Amelia Clarke) #11764
  • [e84e33c87c] - doc: fix a typo in api/process.md (Gaara) #11780
  • [75fcf53173] - doc: missing argument types for events methods (Amelia Clarke) #11802
  • [ae52b63df2] - doc: correct comment error in stream.md (Alexander) #11804
  • [e6f113d3d5] - doc: console.log() -> console.error() in events.md (Vse Mozhet Byt) #11810
  • [cde5d71db1] - doc: var -> let / const in events.md (Vse Mozhet Byt) #11810
  • [d0fb578d64] - fs: avoid using forEach (James M Snell) #11582
  • [14e3ad0c5e] - inspector: proper WS URLs when bound to 0.0.0.0 (Eugene Ostroukhov) #11850
  • [fbbcd1aa89] - lib: Fix swallowed events in inspect integration (Jan Krems) #11869
  • [9cc712ca18] - lib: remove unused msg parameter in debug_agent (mr-spd) #11833
  • [77c69f7ace] - lib, test: add duplicate symbol checking in E() (DavidCai) #11829
  • [7e230727fc] - module: avoid using forEach (James M Snell) #11582
  • [c0a2e02f51] - net: avoid using forEach (James M Snell) #11582
  • [a0b1aa1161] - readline: avoid using forEach (James M Snell) #11582
  • [e19ca8ba11] - readline: remove unneeded eslint-disable comment (Rich Trott) #11836
  • [62e726109a] - repl: avoid using forEach (James M Snell) #11582
  • [90be5a1f19] - stream: avoid using forEach (James M Snell) #11582
  • [2cab00aec0] - test: fix assertion in vm test (AnnaMag) #11862
  • [8bda7b8d39] - test: add coverage for child_process bounds check (Rich Trott) #11800
  • [3ae58acd29] - test: failing behaviour on sandboxed Proxy (AnnaMag) #11671
  • [560d8eed9a] - test: delay child exit in AIX for pseudo-tty tests (Gireesh Punathil) #11715
  • [f9c831f4b1] - test: fix flaky test-domain-abort-on-uncaught (Rich Trott) #11817
  • [2649dab274] - test: added test for indexed properties (AnnaMag) #11769
  • [2df662c95a] - test: test resolveObject with an empty path (Daijiro Wachi) #11811
  • [d2c9111614] - test: fix repl-function-redefinition-edge-case (Alexey Orlenko) #11772
  • [c9cf922248] - test: add regex to assert.throws (Matej Kraj?ovi?) #11815
  • [5f6025ba68] - test: fail when child dies in fork-net (Joyee Cheung) #11684
  • [c626734409] - tls: fix segfault on destroy after partial read (Ben Noordhuis) #11898
  • [646ee559df] - tls: avoid using forEach (James M Snell) #11582
  • [540830116b] - tls: keep track of stream that is closed (jBarz) #11776
  • [9a59913039] - util: avoid using forEach (James M Snell) #11582

下載

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/7a52d7c2

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!