HomeSoftwareAppServerside JavaScript: Node.js 12 has been released

Serverside JavaScript: Node.js 12 has been released

Published on

Node.js has been released in version 12. One of the peculiarities of the new release is that the JavaScript runtime appears to be starting around 30 percent faster and may now have better standard heap limits. This means that the update now sets the JavaScript heap size based on available memory; the defaults selected in earlier versions of the JavaScript engine V8 underlying Node.js are no longer default.

Node.js now uses V8 in version 7.4. Features that go along with it are asynchronous track traces, faster calls with argument deviations, and probably faster JavaScript parsing. In Node.js 12, TLS 1.3 has also risen to the new standard max protocol. This TLS release appears to be more secure than its predecessors. In addition, the default parser is changed to llhttp. This is a TypeScript port of the written in C http_parser, which is probably easier to maintain.

Also, there’s talk about Version 12 providing better support for native modules in combination with worker threads, which are useful for CPU-intensive JavaScript operations. An updated N API should also make it easier to use custom threads for native asynchronous functions.

Finally, the developers point out two experimental features: “Diagnostic report” allows users to report on-demand or specific events, and support for ES6 modules has also been updated.

Node.js 12.0 will be the new release with long-term support (LTS) from October of this year. This means that it will receive a total of three years of support – six months as the current release, 18 months as an active release, and 12 months as a maintenance release.

More information about the new release can be found in the release notes.

Latest articles

Here’s How and When Mount Everest-sized ‘Devil Comet’ Can Be Seen With Naked Eye

Mount Everest sized Comet 12P/Pons-Brooks, also known as "devil comet" which is making its...

Something Fascinating Happened When a Giant Quantum Vortex was Created in Superfluid Helium

Scientists created a giant swirling vortex within superfluid helium that is chilled to the...

The Science of Middle-aged Brain and the Best Thing You Can Do to Keep it Healthy, Revealed

Middle age: It is an important period in brain aging, characterized by unique biological...

Science Shock: Salmon’s Food Choices Better at Reducing Risk of Heart Disease and Stroke

Salmon: Rich in Health Benefits, Yet May Offer Less Nutritional Value - This is...

More like this

Here’s How and When Mount Everest-sized ‘Devil Comet’ Can Be Seen With Naked Eye

Mount Everest sized Comet 12P/Pons-Brooks, also known as "devil comet" which is making its...

Something Fascinating Happened When a Giant Quantum Vortex was Created in Superfluid Helium

Scientists created a giant swirling vortex within superfluid helium that is chilled to the...

The Science of Middle-aged Brain and the Best Thing You Can Do to Keep it Healthy, Revealed

Middle age: It is an important period in brain aging, characterized by unique biological...