6.5 C
New York
Sunday, November 28, 2021

Serverside JavaScript: Node.js 12 has been released

Must Read

A massive asteroid stronger than an atom bomb is approaching Earth: how dangerous can it be?

The asteroid 2018 AH is expected to be roughly 190 meters long, similar to the Tunguska asteroid,...

Giving Tuesday: a chance to make a real difference for others and ourselves after Black Friday and Cyber Monday

Giving Tuesday 2021: After Black Friday and Cyber Monday, a chance to truly help others and ourselves.

JPMorgan’s chief might regret his comments about China’s CCP but he has a point

Comparing JPMorgan to the Chinese Communist Party is bold and hubristic. Despite his later regrets for boasting...
Aakash Molpariya
Aakash started in Nov 2018 as a writer at Revyuh.com. Since joining, as writer, he is mainly responsible for Software, Science, programming, system administration and the Technology ecosystem, but due to his versatility he is used for everything possible. He writes about topics ranging from AI to hardware to games, stands in front of and behind the camera, creates creative product images and much more. He is a trained IT systems engineer and has studied computer science. By the way, he is enthusiastic about his own small projects in game development, hardware-handicraft, digital art, gaming and music. Email: aakash (at) revyuh (dot) com

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.

- Advertisement -


Comments are closed.

- Advertisement -

Latest News

- Advertisement -

More Articles Like This

- Advertisement -