Node.js 16 Adds Apple Silicon Support
Written by Kay Ewbank   
Wednesday, 21 April 2021

Node.js, the JavaScript runtime, is available with built-in support for Apple Silicon for the first time. The new release also improves its support for Promises, and has the updated 9.0 release of the V8 JavaScript engine.

Node.js is an open-source, cross-platform asynchronous event driven JavaScript runtime built on Chrome's JavaScript engine. It uses an event-driven, non-blocking I/O mode and executes JavaScript code outside web browsers.

nodejslogo

The new release is the first that ships with prebuilt binaries for Apple Silicon. The developers say that while they’ll be providing separate tarballs for the Intel (darwin-x64) and ARM (darwin-arm64) architectures the macOS installer (.pkg) will be shipped as a ‘fat’ (multi-architecture) binary.

The Node.js team says that the new version of the V8 JavaScript engine provides some performance tweaks and improvements. One of the improvements is the inclusion of ECMAScript RegExp Match Indices, which provide the start and end indices of the captured string. The indices array is available via the .indices property on match objects when the regular expression has the /d flag.

In practical terms, the most useful addition is that the Timers Promises API has been declared as stable in the new version. It provides an alternative set of timer functions that return Promise objects, removing the need to use util.promisify().

The other improvements have mainly already been recently added to Node.js 15, including an experimental implementation of the standard Web Crypto API; npm7; and a stable AbortController implementation based on the AbortController Web API.

Node.js 16 is downloadable now. It will be the ‘Current’ release for the next 6 months and then promoted to Long-term Support (LTS) in October 2021.

nodejslogo

More Information

Node.js Foundation Homepage

Related Articles

Node.js 15 Improves Rejection Handling

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Deno Improves JSR Support
08/04/2024

Deno has been updated to improve JSR support, and to build on the Temporal API introduced in version 1.4.  Deno is the JavaScript and TypeScript runtime from the creator of Node.js.



Query Your Oracle Autonomous Database With Natural Language
22/04/2024

Select AI is a new feature of the Oracle Autonomous Database that transforms your mother language to SQL. This is a big boon for non-developers in extracting value out of their data silos.


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Wednesday, 21 April 2021 )