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


Generative AI Training For All On Coursera
04/03/2024

Generative AI is on the loose, getting into business and commerce as well as into art, poetry and coding. Already useful, it  will become ever more useful as long as we use it properly. Coursera  [ ... ]



Ibis 8 Adds Streaming
05/03/2024

Ibis 8.0 has been released with stream processing backends. The new release includes Apache Flink as a streaming backend, and RisingWave, a streaming database backend. There's also a new batch backend [ ... ]


More News

raspberry pi books

 

Comments




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

Last Updated ( Wednesday, 21 April 2021 )