Node.js 7.6.0 tackles asynchronous operations

Node.js 7.6.0 tackles asynchronous operations

The Node.js Foundation this week has released Node.js 7.6.0, an experimental version of the server-side JavaScript platform that moves forward with async/await capabilities for handling asynchronous operations. But the Foundation advises enterprise users to skip using the new release in production and instead wait for Node.js 8 to arrive in April.

With Node's release strategy, odd-numbered releases like the 7.x line are short-lived but feature cutting-edge capabilities still in an experimental phase; even-numbered lines represent Long Term Support lines for enterprises to adopt.

Async/await handles asynchronous operations via the promises capability, which represents a value that may or not be available now or in the future. It resolves asynchronous operations like file and network I/O, and code can be written in a synchronous way while remaining asynchronous.

While async/await had already been in the 7.x line, an update to version 5.5 of Google's V8 JavaScript engine in release 7.6 means the feature is no longer behind a flag, which required special options to run it. But async/await remains an experimental feature.

"This release includes upgrades to other dependencies bundled with Node.js as well as incremental improvements to Node.js core modules," Mikeal Rogers, Node community manager, said. Also offered in Node.js 7.6 are updates to both libuv, which is a library for asynchronous I/O, and zlib, which offers compression.

The foundation this week also released versions 6.10 and 4.8 of the platform. The 6.10 release features APIs to check memory usage, while 4.8 offers statistics about heap sizes in V8 and adds Application-Layer Protocol Negotiation for cryptography. Both releases offer incremental improvements to LTS streams, introducing features that have already landed in a Node.js 7.x release. The Node.js project back-ports such features for a variety of reasons, but mostly because these are considered useful or important enough.

IDG Insider

PREVIOUS ARTICLE

«Verizon scores a decisive win in wireless shootout

NEXT ARTICLE

Telefonica-Sigfox deal is a big win for diverse IoT networks»
author_image
IDG Connect

IDG Connect tackles the tech stories that matter to you

Add Your Comment

Most Recent Comments

Our Case Studies

IDG Connect delivers full creative solutions to meet all your demand generatlon needs. These cover the full scope of options, from customized content and lead delivery through to fully integrated campaigns.

images

Our Marketing Research

Our in-house analyst and editorial team create a range of insights for the global marketing community. These look at IT buying preferences, the latest soclal media trends and other zeitgeist topics.

images

Poll

Will Kotlin overtake Java as the most popular Android programming language in 2018?