Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merge Growable SharedArrayBuffer + Resizable ArrayBuffer? #1558

Closed
foolip opened this issue Aug 8, 2024 · 3 comments · Fixed by #1605
Closed

Merge Growable SharedArrayBuffer + Resizable ArrayBuffer? #1558

foolip opened this issue Aug 8, 2024 · 3 comments · Fixed by #1605
Labels
feature definition Creating or defining new features or groups of features.

Comments

@foolip
Copy link
Collaborator

foolip commented Aug 8, 2024

@syg has pointed out that these two features were part of the same TC39 proposal:
https://github.com/tc39/proposal-resizablearraybuffer

They were shipped together as well. Do web developers really think about these as separate features, or should we merge them?

cc @Elchi3 @captainbrosset @ddbeck who were involved in #1242.

@foolip foolip added the feature definition Creating or defining new features or groups of features. label Aug 8, 2024
@syg
Copy link

syg commented Aug 9, 2024

They can be separately used but I also think all the web implementations made them both available at the same time, so in practice they're thought of as one IMO.

Edit: Oops, accidentally negated the sentence.

@Elchi3
Copy link
Collaborator

Elchi3 commented Aug 15, 2024

I have no strong feelings here. What would a merged feature be called?

growable-sharedarraybuffer-resizable-arraybuffer.yml
name: Resizable ArrayBuffers and growable SharedArrayBuffer
description: The resize() method of an ArrayBuffer and the grow() method of a SharedArrayBuffer, constructed with the maxByteLength option, changes the size of the buffer in place.

@syg
Copy link

syg commented Aug 15, 2024

I have no strong feelings here. What would a merged feature be called?

In conversation I call the feature "resizable buffers".

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants