Skip to content

[js-api] Add support for resizable ArrayBuffers and growable SharedArrayBuffers#208

Merged
conrad-watt merged 4 commits intoWebAssembly:upstream-rebuildfrom
ioannad:add-RAB-support
Sep 12, 2023
Merged

[js-api] Add support for resizable ArrayBuffers and growable SharedArrayBuffers#208
conrad-watt merged 4 commits intoWebAssembly:upstream-rebuildfrom
ioannad:add-RAB-support

Conversation

@ioannad
Copy link
Contributor

@ioannad ioannad commented Aug 31, 2023

This adds support for resizable ArrayBuffers and growable SharedArrayBuffers, by adding and extending the changes in rab-js-api-integration [1] to include cases for SharedArrayBuffer.
Also adds a TODO for the steps of the new HostGrowSharedArrayBuffer algorithm.

All this could potentially be refactored to be more concise.

[1] WebAssembly/spec#1300

…dd-RAB-support

This adds support for ResizableArrayBuffers and GrowableSharedArrayBuffers,
by adding and extending the changes in rab-js-api-integration [1]
to include cases for SharedArrayBuffer.
Also adds a TODO for the steps of the new HostGrowSharedArrayBuffer algorithm.

All this could potentially be refactored to be more concise.

[1] WebAssembly/spec#1300
to match the style in the spec PR adding resizable buffers.
Copy link
Collaborator

@conrad-watt conrad-watt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@conrad-watt conrad-watt merged commit 68764dc into WebAssembly:upstream-rebuild Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants