Hacker News new | ask | show | jobs
by cxcorp 1154 days ago
> V8 11.3

> The V8 engine is updated to version 11.3, which is part of Chromium 113. This version includes three new features to the JavaScript API:

> ...

> - Methods that change Array and TypedArray by copy

> ...

Excited to see these in. I've been waiting for the non-mutating versions of .sort() and .splice() and now they're finally here (.toSorted and toSpliced)!

> - Resizable ArrayBuffer and growable SharedArrayBuffer

Does this mean that WebAssembly memory can also now grow without making a copy of the entire buffer?

> The V8 update was a contribution by Michaël Zasso in #47251.

Well done Michaël!