diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2020-02-07 00:54:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-06 15:54:06 -0800 |
| commit | 1279e3a2aacea79aeeb35ec4199af9cbdca0f5a7 (patch) | |
| tree | 30a1c326873b25ebae98d3086eaf7a74936e625a /FutureFeatures.md | |
| parent | 376bcc4b9cba79280d79be023d71e30d0b00ba47 (diff) | |
| download | nanowasm-design-1279e3a2aacea79aeeb35ec4199af9cbdca0f5a7.tar.gz | |
Update the text on wasm64. (#1311)
Discussions of wasm64 have settled on thinking of it as a per-memory flag,
rather than a per-module flag, so update this documentation accordingly.
Diffstat (limited to 'FutureFeatures.md')
| -rw-r--r-- | FutureFeatures.md | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/FutureFeatures.md b/FutureFeatures.md index 6049d5c..36d4b28 100644 --- a/FutureFeatures.md +++ b/FutureFeatures.md @@ -145,25 +145,14 @@ Options under consideration: ### Linear memory bigger than 4 GiB -The WebAssembly MVP will support the wasm32 mode of WebAssembly, with linear -memory sizes up to 4 GiB using 32-bit linear memory indices. To support larger -sizes, the wasm64 mode of WebAssembly will be added in the future, supporting -much greater linear memory sizes using 64-bit linear memory indices. wasm32 -and wasm64 are both just modes of WebAssembly, to be selected by a flag in -a module header, and don't imply any semantics differences outside of how -linear memory is handled. Platforms will also have APIs for querying which of -wasm32 and wasm64 are supported. +The WebAssembly MVP supports linear memories with 32-bit indices in the MVP, +which means it's limited to 4 GiB per memory. To support larger sizes, memories +that use 64-bit indices will be added in the future, supporting much greater +linear memory sizes. Of course, the ability to actually allocate this much memory will always be subject to dynamic resource availability. -It is likely that wasm64 will initially support only 64-bit linear memory -indices, and wasm32 will leave 64-bit linear memory indices unsupported, so -that implementations don't have to support multiple index sizes in the same -instance. However, operators with 32-bit indices and operators with 64-bit -indices will be given separate names to leave open the possibility of -supporting both in the same instance in the future. - ### Source maps integration * Add a new source maps [module section type](MVP.md#module-structure). |
