The new API is present in V8 7.9, so we can already migrate to it:
There is an upstream issue to gather feedback: v8:9908.
I would like to work on this issue.
@thangktran Cool! This is quite C++-heavy, so it helps if you鈥檙e familiar with that. I would recommend starting by looking at ArrayBuffer::New() calls in our C++ code in src/, picking one that uses ArrayBufferCreationMode::kInternalized (that鈥檚 the easier case), and then trying to convert it to the new ArrayBuffer::NewBackingStore()-based API.
If you have any questions or need help getting started, feel free to comment here, or ask the #node-dev channel on Freenode IRC (or to ping me there).
@addaleax Thank you for your suggestion.
EDIT: I figured it out. I'll test it and keep you update.
There appears to be a bug in v8.
I've reported to them https://bugs.chromium.org/p/v8/issues/detail?id=9908
@thangktran Yeah, thanks for reporting that :+1:
Most helpful comment
@thangktran Yeah, thanks for reporting that :+1: