Skip to content

a few helpful links #56

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The [OCapN](https://ocapn.org/) network protocol treats strings and byte-arrays

[Readonly Collections](https://github.com/tc39/proposal-readonly-collections), especially [issue #10](https://github.com/tc39/proposal-readonly-collections/issues/10)

wasm [issue #1162](https://github.com/WebAssembly/design/issues/1162#issuecomment-2560354923)
wasm zero copy [issue #1162 comment](https://github.com/WebAssembly/design/issues/1162#issuecomment-2666958705)

w3c TPAC talk [Zero-copy operations on the web](https://www.w3.org/2020/Talks/TPAC/unconference/zerocopy.pdf)

Expand All @@ -78,6 +78,10 @@ whatwg streams [issue #495](https://github.com/whatwg/streams/issues/495#issueco

w3c machine learning workshop [issue #93](https://github.com/w3c/machine-learning-workshop/issues/93#issuecomment-2560365962)

[Deno intends to support](https://deno.com/blog/updates-from-tc39#immutable-arraybuffer)

[Proposal Import Buffer](https://github.com/styfle/proposal-import-buffer) relies on Immutable ArrayBuffer

## Solution

This proposal introduces additional methods and read-only accessor properties to `ArrayBuffer.prototype` that fit naturally into those explained above. Just as a buffer can be resizable or not, and detached or not, this proposal enables buffers to be immutable or not. Just as `transferToFixedSize` moves the contents of a original buffer into a newly created non-resizable buffer, this proposal provides a transfer operation that moves the contents of an original original buffer into a newly created immutable buffer. Altogether, this proposal only adds to `ArrayBuffer.prototype` one read-only accessor
Expand Down