Are all node codes open source?

WBOY
Release: 2022-08-19 10:32:02
Original
2212 people have browsed it

The node code is open source; "Node.js" is a cross-platform open source running environment. It is a JavaScript running environment based on the "Chrome V8" engine. It is used to execute JavaScript code outside the browser. Node is also The preferred runtime environment built on the Chrome JavaScript runtime for building fast, scalable, and efficient web applications.

Are all node codes open source?

The operating environment of this article: Windows 10 system, nodejs version 16, Dell G3 computer.

The node code is open source

Node.JS is a JavaScript running environment based on the Chrome V8 engine. It is a development platform that allows JavaScript to run on the server. It makes JavaScript become the same as PHP, Python, A scripting language on par with server-side languages ​​such as Perl and Ruby.

Node.js is a cross-platform open source runtime environment used to execute JavaScript code outside the browser. It is also the preferred runtime environment built on top of the Chrome JavaScript runtime and is primarily used for building fast, scalable and efficient web applications.

Node.JS is open source, it uses the MIT license; in addition, Node.JS is based on the Chrome V8 engine, and v8 is a BSD license.

What is a BSD license ?

BSD license was originally used on each 4.4BSD/4.4BSD-Lite version released by the University of California, Berkeley (BSD is the abbreviation of Berkly Software Distribution), and was gradually used later. Come down.

In 1979, the University of California, Berkeley released BSD Unix, known as the pioneer of open source code. The BSD license was developed with BSD Unix. The BSD license is now used by Apache and BSD operating systems Waiting for adoption by open source software.

What is the MIT License?

The MIT License (The MIT License) is one of the most widely used among many software licensing terms. A. Compared with other common software licensing terms (such as GPL, LGPL, BSD), MIT is a relatively loose software licensing terms.

Expand knowledge

Node, as an emerging front-end framework and back-end language, has many attractions: RESTful API, single-threaded.

Node can still process tasks concurrently without adding additional threads - Node.js is single-threaded. It implements concurrent operations through the event loop, and we should make full use of this - avoid blocking operations as much as possible, and instead use non-blocking operations.

Non-blocking IO

V8 virtual machine

Event-driven

Recommended learning: "nodejs video tutorial"

The above is the detailed content of Are all node codes open source?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template