New Node.js v6 Is Faster, Nearing Full ES6 Support
Node.js. v6 loads modules four times faster than v4 (the versioning is somewhat confusing), said the Node.js Foundation, an industry-backed consortium that operates under The Linux Foundation. "This will help developers dramatically decrease the start-up time of large applications for the best productivity in development cycles and more seamless experience with end users," the organization said.
The Foundation last week published results from a new survey that show the platform is making inroads in enterprise development shops, giving new meaning to the term "full stack developer" with the platform's affinity for Internet of Things (IoT) development in addition to the traditional front- and back-end stack components.
To further accelerate the growing enterprise adoption, the Foundation is providing more documentation and testing around the new v6 release, along with improved security -- always a foremost concern in enterprise development.
"Security is top-of-mind for enterprises and start-ups alike, and Node.js v6 has added several features that impact security, making it easier to write secure code," the Foundation said. "The new Buffer API will reduce the risk of bugs and vulnerabilities leaking into applications through a new constructor method used to create Buffer instances, as well as a zero-fill-buffers command-line flag. Using the new command line flag, developers can continue to safely use older modules that have not been updated to use the new constructor API. In addition, V8 has improved their implementation of Math.random() to be more secure -- this feature is added into Node.js v6."
Mikeal Rogers, community manager of the Node.js Foundation, further emphasized the enterprise features.
"This release is committed to Long Term Support, which allows predictable long-term stability, reliability, performance and security to the growing number of enterprise users that are adopting Node.js as a key technology in their infrastructure."
More information on the various releases and features, along with guidance on which versions should be used, is available here, while the latest version can be downloaded here.
David Ramel is an editor and writer for Converge360.