Node.js v7.9.0 發布

看到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提供了其他語言能夠實現的許多功能。
更新日志
- util: console is now closer to what is supported in all major browsers (Roman Reiss) #10308
- [
9f73df5910] - deps: cherry-pick 22858cb from V8 upstream (Ali Ijaz Sheikh) #11998 - [
b997e62692] - test: add internal/socket_list tests (DavidCai) #12109 - [
c11c23b22b] - doc: make the heading consistent (Sakthipriyan Vairamani (thefourtheye)) #11569 - [
67d21149a2] - crypto: handle exceptions in hmac/hash.digest (Tobias Nießen) #12164 - [
3b765f5366] - doc: fix confusing example in process.md (Vse Mozhet Byt) #12282 - [
37568c093a] - src: use std::list for at_exit_functions (Daniel Bevenius) #12255 - [
2f9e2fcf3e] - doc: update information on test/known_issues (Jan Krems) #12262 - [
0f4319a14a] - src: use std::string for trace enabled_categories (Sam Roberts) #12242 - [
6826637f11] - doc: fix missing argument for dns.resolvePtr() (Uppinder Chugh) #12256 - [
4a6bb378d4] - doc: fix confusing reference in net.md (Vse Mozhet Byt) #12247 - [
3e8991cc56] - doc: modernize and fix code examples in modules.md (Vse Mozhet Byt) #12224 - [
376f5ef1ee] - doc: document the performance team (Gibson Fahnestock) #12213 - [
c0b7c075da] - doc: add refack to collaborators (Refael Ackermann) #12277 - [
83f855d505] - doc: add aqrln to collaborators (Alexey Orlenko) #12273 - [
2fb2289177] - doc: add sub domain to host in url (Steven) #12233 - [
ac200a6122] - test: add a second argument to assert.throws() (dave-k) #12139 - [
3cdd04b1c0] - test: skip irrelevant test on Windows (Rich Trott) #12261 - [
d4d6986551] - build: fix path voodoo in icu-generic.gyp (Refael Ackermann) #11217 - [
a735c16d52] - deps: backport ec1ffe3 from upstream V8 (Daniel Bevenius) #12061 - [
d641164d09] - doc: update pull request template URL layout (Rich Trott) #12216 - [
6feea08587] - buffer: preallocate array with buffer length (alejandro) #11733 - [
a703bdecc4] - build: add checks for openssl configure options (Daniel Bevenius) #12175 - [
b495b6acdf] - build: make configure print statements consistent (Daniel Bevenius) #12176 - [
f60b4553f3] - doc: modernize and fix code examples in https.md (Vse Mozhet Byt) #12171 - [
74d0266694] - doc: fix string interpolation in Stream 'finish' (Vinay Hiremath) #12221 - [
4b54520a4a] - test: refactor mkdtemp test and added async (Luca Maraschi) #12080 - [
8caf6fd58a] - test: add Unicode characters regression test (Alexey Orlenko) #11423 - [
961c89cc61] - doc: add table of contents to README.md (Jason Marsh) #11635 - [
a11ed6a0b3] - test: more robust check for location ofnode.exe(Refael Ackermann) #12120 - [
6083e7aa7b] - benchmark: avoid TurboFan deopt in arrays bench (Michaël Zasso) #11894 - [
cf1117bc13] - doc: fix the timing of setImmediate's execution (Daiki Arai) #12034 - [
806c4f3c0c] - doc: fix fs.read arg type (Daiki Arai) #12034 - [
c814c7e9ea] - events: do not keep arrays with a single listener (Luigi Pinca) #12043 - [
36617fd5b8] - doc: add notes to http.get options (Raphael Okon) #12124 - [
9e6b0a4604] - test: performance, remove Popen(shell=True) on Win (Refael Ackermann) #12138 - [
805ebef8b1] - buffer: optimize decoding wrapped base64 data (Alexey Orlenko) #12146 - [
fb34d9c210] - test: increase querystring coverage (DavidCai) #12163 - [
d6e9cf7c22] - doc: fix and update examples in http.md (Vse Mozhet Byt) #12169 - [
f057cc3d84] - benchmark: replace [].join() with ''.repeat() (Vse Mozhet Byt) #12170 - [
b15dc95848] - test: fix flaky test-child-process-exec-timeout (Santiago Gimeno) #12159 - [
72a27b3eb5] - build: use $(RM) in Makefile for consistency (Gibson Fahnestock) #12157 - [
3af9101d20] - doc, inspector: note that the host is optional (Gibson Fahnestock) #12149 - [
b52b3f6710] - test: reduce buffer size in buffer-creation test (Sakthipriyan Vairamani (thefourtheye)) #11177 - [
b5283f9d4b] - doc: add logo to README (Roman Reiss) #12148 - [
305f822a36] - net: rename internal functions for readability (Joyee Cheung) #11796 - [
2f88de1ce3] - vm: use SetterCallback to set func declarations (AnnaMag) #12051 - [
ffbcfdfe32] - src: fix base64 decoding (Nikolai Vavilov) #11995 - [
8823861d9d] - tools: update dotfile whitelist in .gitignore (Michaël Zasso) #12116 - [
87ca9a6ffe] - test: fix flaky child-process-exec-kill-throws (Rich Trott) #12111 - [
fdf76d5aa0] - tools: add missing #include "unicode/putil.h" (Steven R. Loomis) #12078 - [
6130d547a0] - deps: backport 8dde6ac from upstream V8 (Daniel Bevenius) #12060 - [
1ee38eb874] - (SEMVER-MINOR) util: add %i and %f formatting specifiers (Roman Reiss) #10308 - [
5ac719d0d2] - doc: add deprecations page to docs toc (Michaël Zasso) #12268
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/1ce7f8d6
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!