Skip to content
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

Precise Memory.grow semantics in doc page #1188

Open
juj opened this issue Feb 23, 2018 · 2 comments
Open

Precise Memory.grow semantics in doc page #1188

juj opened this issue Feb 23, 2018 · 2 comments

Comments

@juj
Copy link

juj commented Feb 23, 2018

  1. Clicking on link Memory.grow in https://github.com/WebAssembly/design/blob/master/JS.md#webassemblymemoryprototypegrow in Perform Memory.grow with delta d. sentence points to https://github.com/WebAssembly/spec/blob/master/interpreter/spec/memory.mli#L27 which gives a 404.

  2. Does Perform Memory.grow with delta d. there mean with delta d pages, or with delta d bytes?

Presumably Memory.grow() behaves identical to the grow_memory opcode at https://github.com/WebAssembly/design/blob/e2be77eaac770268a4c22fb09c6f648de7b9b6b8/Semantics.md#resizing, so this would be in pages?

@littledan
Copy link

We should take down the JS.md page. It is now subsumed by this document: https://webassembly.github.io/spec/js-api/index.html

@jfbastien
Copy link
Member

We should replace it instead, with forwarding links, and host the editor's draft on webassembly.org. This probably fits in the webassembly.org maintenance discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants