V8 goes v8!

V8 version 8.0 adds performance improvements and optional chaining

Maika Möbus
© Shutterstock / The Factory of Light

Version 8.0 of Google’s open source JavaScript engine V8 has arrived. This poetic release of V8 v8 not only has a nice ring to it, but adds some performance improvements, bug fixes and the ECMAScript language features optional chaining and nullish coalescing.

In a blog post, the V8 developers have announced the release of version 8.0.

V8 is an open source JavaScript and WebAssembly engine that was first released by Google in 2008 and is written in C++. The cross-platform engine can run standalone or embedded into a C++ application.

SEE ALSO: Universal Vue applications with Nuxt.js

Version 8.0 will be officially available when it ships with the stable version of Chrome 80, planned to be released in several weeks. If you want to try out the new features sooner, you can either use git checkout -b 8.0 -t branch-heads/8.0, which requires an active V8 checkout, or subscribe to the Chrome Beta channel.

V8’s Twitter followers are excited about v8, so let’s take a look at the new features!

Features of version 8.0

The latest version includes support for the long-awaited ECMAScript features optional chaining ?. and nullish coalescing ??. A list of API changes in version 8.0 is provided when entering the command git log branch-heads/7.9..branch-heads/8.0 include/v8.h.

Additionally, V8 now uses pointer compression, which saves an average of 40% of the heap memory. Memory improvement “usually […] comes at the cost of performance,” as the V8 developers mentioned. In contrast, they proudly pointed out performance improvements in V8 and its garbage collector when visiting these websites:


Source: V8 blog

SEE ALSO: Software development trends for 2020

The latest implemented JavaScript and WebAssembly features are listed on V8’s website, and the docs can help you get started.

More details on what’s new in V8 version 8.0 are available in the blog post.

Maika Möbus
Maika Möbus has been an editor for Software & Support Media since January 2019. She studied Sociology at Goethe University Frankfurt and Johannes Gutenberg University Mainz.

Inline Feedbacks
View all comments