V8 release v9.4

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 9.4, which is in beta …


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

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 9.4, which is in beta until its release in coordination with Chrome 94 Stable in several weeks. V8 v9.4 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 #

Class static initialization blocks #

Classes get the ability to group code that should run once per class evaluation via static initialization blocks.

class C {
// This block will run when the class itself is evaluated
static { console.log("C's static block"); }
}

Starting in v9.4, class static initialization blocks will be available without a need for the --harmony-class-static-blocks flag. For all the detailed semantics around the scoping of these blocks, please see our explainer.

V8 API #

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

Developers with an active V8 checkout can use git checkout -b 9.4 -t branch-heads/9.4 to experiment with the new features in V8 v9.4. 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)


Print Share Comment Cite Upload Translate Updates
APA

Ingvar Stepanyan (@RReverser) | Sciencx (2021-09-06T00:00:00+00:00) V8 release v9.4. Retrieved from https://www.scien.cx/2021/09/06/v8-release-v9-4/

MLA
" » V8 release v9.4." Ingvar Stepanyan (@RReverser) | Sciencx - Monday September 6, 2021, https://www.scien.cx/2021/09/06/v8-release-v9-4/
HARVARD
Ingvar Stepanyan (@RReverser) | Sciencx Monday September 6, 2021 » V8 release v9.4., viewed ,<https://www.scien.cx/2021/09/06/v8-release-v9-4/>
VANCOUVER
Ingvar Stepanyan (@RReverser) | Sciencx - » V8 release v9.4. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/06/v8-release-v9-4/
CHICAGO
" » V8 release v9.4." Ingvar Stepanyan (@RReverser) | Sciencx - Accessed . https://www.scien.cx/2021/09/06/v8-release-v9-4/
IEEE
" » V8 release v9.4." Ingvar Stepanyan (@RReverser) | Sciencx [Online]. Available: https://www.scien.cx/2021/09/06/v8-release-v9-4/. [Accessed: ]
rf:citation
» V8 release v9.4 | Ingvar Stepanyan (@RReverser) | Sciencx | https://www.scien.cx/2021/09/06/v8-release-v9-4/ |

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.