2 min read

Chrome v8 7.0 is in beta and has added features like embedded built-ins and JavaScript language features. It will be in beta and will release with Chrome 70 Stable.

A new branch of v8 is created every six weeks. Just before a Chrome Beta milestone release, each version is branched from the V8 master on GitHub. V8 7.0 was announced yesterday, and is filled with features to enhance the experience of developers.

v8 7.0 brings embedded built-ins in

Embedded builtins share the generated code across multiple V8 Isolates to save memory. Beginning from V8 v6.9 embedded built-ins are enabled on x64. With the exception of ia32, v8 7.0 brings memory savings to all other platforms.

WebAssembly Threads preview

WebAssembly enables code compilation of C++ other languages to run on the web. A very useful feature of native applications is the ability to use threads. It is a primitive for parallel computation. pthreads, a standard API for application thread management, is familiar to most C and C++ developers.

The WebAssembly Community Group has been working to bring threads to the web in order to enable real multi-threaded applications. V8 has implemented required support for threads in the WebAssembly engine as part of this effort.

To use this in Chrome, enable it via chrome://flags/#enable-webassembly-threads, or sign up for an Origin Trial. With Origin Trials developers can experiment with new web features before they are standardized. This also helps the creators gather real-world feedback critical to validate and improve new features.

JavaScript features in V8

A description property will be added to Symbol.prototype to provide an ergonomic way of accessing Symbol description. Before this change, the description could be accessed only indirectly through Symbol.protoype.toString(). Array.prototype.sort is now stable in V8 v7.0. V8 used an unstable QuickSort for arrays with more than 10 elements. Now, the stable TimSort algorithm is in use.

For more details, visit the v8 Blog.

Read next

Google announces updates to Chrome DevTools in Chrome 71

Chrome 69 privacy issues: automatic sign-ins and retained cookies; Chrome 70 to correct these

Origin DApp: A decentralized marketplace on Ethereum mainnet aims to disrupt gig economy platforms like Airbnb and Uber


Subscribe to the weekly Packt Hub newsletter. We'll send you the results of our AI Now Survey, featuring data and insights from across the tech landscape.