V8 release v8.7

Every six weeks, we create a new branch of V8 as part of our release process. Each version is branched from V8’s Git master immediately before a Chrome Beta milestone. Today we’re pleased to announce our newest branch, V8 version 8.7, which is in beta …


This content originally appeared on V8 and was authored by Ingvar Stepanyan (@RReverser), a V8 flag bearer

Every six weeks, we create a new branch of V8 as part of our release process. Each version is branched from V8’s Git master immediately before a Chrome Beta milestone. Today we’re pleased to announce our newest branch, V8 version 8.7, which is in beta until its release in coordination with Chrome 87 Stable in several weeks. V8 v8.7 is filled with all sorts of developer-facing goodies. This post provides a preview of some of the highlights in anticipation of the release.

JavaScript #

Unsafe fast JS calls #

V8 v8.7 comes with an enhanced API for doing native calls from JavaScript.

The feature is still experimental and can be enabled through the --turbo-fast-api-calls flag in V8 or the corresponding --enable-unsafe-fast-js-calls flag in Chrome. It is designed to improve performance of some native graphics APIs in Chrome, but can also be used by other embedders. It provides new means for developers to create instances of v8::FunctionTemplate, as is documented in this header file. Functions created using the original API will remain unaffected.

For more information and a list of available features, please see this explainer.

Atomics.waitAsync #

Atomics.waitAsync is now available in V8 v8.7.

Atomics.wait and Atomics.notify are low-level synchronization primitives useful for implementing mutexes and other means of synchronization. However, since Atomics.wait is blocking, it’s not possible to call it on the main thread (trying to do so will throw a TypeError). The non-blocking version, Atomics.waitAsync, is usable also on the main thread.

Check out our explainer on Atomics APIs for more details.

V8 API #

Please use git log branch-heads/8.6..branch-heads/8.7 include/v8.h to get a list of the API changes.

Developers with an active V8 checkout can use git checkout -b 8.7 -t branch-heads/8.7 to experiment with the new features in V8 v8.7. Alternatively you can subscribe to Chrome’s Beta channel and try the new features out yourself soon.


This content originally appeared on V8 and was authored by Ingvar Stepanyan (@RReverser), a V8 flag bearer


Print Share Comment Cite Upload Translate Updates
APA

Ingvar Stepanyan (@RReverser), a V8 flag bearer | Sciencx (2020-10-23T00:00:00+00:00) V8 release v8.7. Retrieved from https://www.scien.cx/2020/10/23/v8-release-v8-7/

MLA
" » V8 release v8.7." Ingvar Stepanyan (@RReverser), a V8 flag bearer | Sciencx - Friday October 23, 2020, https://www.scien.cx/2020/10/23/v8-release-v8-7/
HARVARD
Ingvar Stepanyan (@RReverser), a V8 flag bearer | Sciencx Friday October 23, 2020 » V8 release v8.7., viewed ,<https://www.scien.cx/2020/10/23/v8-release-v8-7/>
VANCOUVER
Ingvar Stepanyan (@RReverser), a V8 flag bearer | Sciencx - » V8 release v8.7. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/10/23/v8-release-v8-7/
CHICAGO
" » V8 release v8.7." Ingvar Stepanyan (@RReverser), a V8 flag bearer | Sciencx - Accessed . https://www.scien.cx/2020/10/23/v8-release-v8-7/
IEEE
" » V8 release v8.7." Ingvar Stepanyan (@RReverser), a V8 flag bearer | Sciencx [Online]. Available: https://www.scien.cx/2020/10/23/v8-release-v8-7/. [Accessed: ]
rf:citation
» V8 release v8.7 | Ingvar Stepanyan (@RReverser), a V8 flag bearer | Sciencx | https://www.scien.cx/2020/10/23/v8-release-v8-7/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.