node.js历史‘
Believe it or not, Node.js is just 9 years old.
信不信由你,Node.js才9岁。
In comparison, JavaScript is 23 years old and the web as we know it (after the introduction of Mosaic) is 25 years old.
相比之下,JavaScript已有23年的历史了,而我们所知道的网络(在Mosaic引入之后)已有25年的历史了。
9 years is such a little amount of time for a technology, but Node.js seems to have been around forever.
9年对于技术来说是很少的时间,但是Node.js似乎永远存在。
I’ve had the pleasure to work with Node since the early days when it was just 2 years old, and despite the little information available, you could already feel it was a huge thing.
从成立仅2年的早期开始,我就很高兴与Node一起工作,尽管掌握的信息很少,但您可能已经感觉到这是一件大事。
In this post, I want to draw the big picture of Node in its history, to put things in perspective.
在这篇文章中,我想勾勒出Node历史上的全景图,以便对事物进行透视。
JavaScript is a programming language that was created at Netscape as a scripting tool to manipulate web pages inside their browser, Netscape Navigator.
JavaScript是一种在Netscape中创建的编程语言,它是一种脚本工具,用于在其浏览器Netscape Navigator中操纵网页。
Part of the business model of Netscape was to sell Web Servers, which included an environment called Netscape LiveWire, which could create dynamic pages using server-side JavaScript. So the idea of server-side JavaScript was not introduced by Node.js, but it’s old just like JavaScript - but at the time it was not successful.
Netscape的业务模型的一部分是出售Web服务器,其中包括一个称为Netscape LiveWire的环境,该环境可以使用服务器端JavaScript创建动态页面。 因此,Node.js并未引入服务器端JavaScript的想法,但是它像JavaScript一样古老-但是当时还没有成功。
One key factor that led to the rise of Node.js was timing. JavaScript since a few years was starting being considered a serious language, thanks for the “Web 2.0” applications that showed the world what a modern experience on the web could be like (think Google Maps or GMail).
导致Node.js兴起的一个关键因素是计时。 几年以来,JavaScript开始被视为一种严肃的语言,这要感谢“ Web 2.0”应用程序,该应用程序向世界展示了Web上的现代体验(例如Google Maps或GMail)。
The JavaScript engines performance bar raised considerably thanks to the browser competition battle, which is still going strong. Development teams behind each major browser work hard every day to give us better performance, which is a huge win for JavaScript as a platform. V8, the engine that Node.js uses under the hood, is one of those and in particular it’s the Chrome JS engine.
由于浏览器竞争的激烈,JavaScript引擎的性能标准大为提高,但该竞争仍在继续。 每个主要浏览器背后的开发团队每天都在努力工作,以提高性能,这对于JavaScript作为平台是一个巨大的胜利。 Node.js在引擎盖下使用的V8引擎就是其中之一,尤其是Chrome JS引擎。
But of course, Node.js is not popular just because of pure luck or timing. It introduced much innovative thinking on how to program in JavaScript on the server.
但是,当然,仅由于运气或时机原因,Node.js并不流行。 它引入了有关如何在服务器上使用JavaScript编程的许多创新思想。
Big companies start adopting Node: LinkedIn, Uber Hapi is born
大公司开始采用Node:LinkedIn,Uber Hapi诞生了
The Big Fork: io.js is a major fork of Node.js, with the goal of introducing ES6 support and moving faster
大叉: io.js是Node.js的主要分支,目的是引入ES6支持并加快迁移速度
The Node.js Foundation is born
The leftpad incident
Yarn is born
纱线诞生
V8 introduces Node in its testing suite, officially making Node a target for the JS engine, in addition to Chrome
V8在其测试套件中引入了Node,除了Chrome之外,还正式使Node成为JS引擎的目标
ES modules .mjs experimental support
ES模块 .mjs实验支持
Work on Deno started to move server-side JS into the next decade with modern JavaScript support
Deno的工作开始通过现代JavaScript支持将服务器端JS迁移到下一个十年
node.js历史‘