Node.js v0.4.6 publishes a JavaScript runtime environment (runtime)

Source: Internet
Author: User
Keywords Node.js javascript operating environment
Tags aliyun api applied browser development environment google google +

Node is a JavaScript runtime environment (runtime). It actually encapsulates the Google V8 engine (applied to Google http://www.aliyun.com/zixun/aggregation/33824.html ">chrome browser"). The V8 engine executes JavaScript very quickly and performs very well. Node optimizes some special use cases and provides an alternative API that allows V8 to run better in a browser-less environment. For example, in a server environment, processing binary data is usually necessary, but JavaScript does not support this, so V8. Node adds a buffer class to handle binary data easily and efficiently. Therefore, node not only uses V8, but also optimizes it to make it more power in various environments.

The V8 engine itself uses some of the latest compilation techniques. This makes the code written in a high-level language such as JavaScript, similar to the performance of code written in a low-level language like C, saves development costs. Demanding on performance is a key factor in node. JavaScript is an event-driven language, and node uses this advantage to write a highly scalable server. Node uses a schema called Event loop, which makes it easy and secure to write scalable servers. There are a variety of techniques to improve server performance. Node chooses a architecture that improves performance and reduces development complexity. This is a very important feature. Concurrent programming is often complex and mined. Node bypasses these, but still provides good performance.

Node.js is all-encompassing, but the main point is that it provides a way to run JavaScript outside of a Web browser. JavaScript is widely used in front-end development of Web sites. Node enables this popular programming language to run in more environments, even the server side of the Web site.

Node.js Version 0.4.5 Update log:

* Fix listener leak in Stream.pipe () (Mikeal Rogers)

* Retain buffers in Fs.read/write () GH-814 (Jorge Chamorro)

* TLS configured improvements

* SlowBuffer.prototype.slice Bug GH-843

* Process.stderr.write should return True

* Immediate Pause/resume race condition GH-535 (Isaacs)

* Set Default Host header properly GH-721 (Isaacs)

* Upgrade V8 to 3.1.8.8

Download Address: http://nodejs.org/dist/node-v0.4.6.tar.gz

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.