Text Format
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- wasm
- Domain
- compilers
Research direction
Start by reviewing the issue's proposed WAT forms for array-aware load/store instructions and compare them with the existing memory-index syntax described in the body. No files or tests are named. Done means reaching agreement on a syntax that distinguishes array access from memory access.
Written by the indexing model from the issue text.
Description
The current plan to reuse the existing load/store memory instructions for arrays will require some new WAT syntax to signal that the load/store instruction is operating on an array. Some options:
Option 1 - array Keyword
i32.load array $type_index (<array ref>) (<address>)
Option 2 - backing=array
i32.load backing=array $type_index (<array ref>) (<address>)
Option 3 - type=$type_index
i32.load type=$type_index (<array ref>) (<address>)
(Won't work) Option 4 - Use Presence Type Index to Signal Array Read
i32.load $type_index (<array ref>) (<address>)
Unfortunately, this won't work because there is no way to differentiate this from i32.load $memory_index.
Option 5 - ???
Any other proposals?
- Dominant language
- WebAssembly
- Stars
- 4
- Forks
- 1
- Avg merge
- 16h 35m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WebAssembly/multibyte-array-access
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
WebAssembly/multibyte-array-access#8 · 1 comment ·
-
Dart SIMD use case. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
WebAssembly/multibyte-array-access#5 · 11 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
WebAssembly/multibyte-array-access#4 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
WebAssembly/multibyte-array-access#3 · 5 comments ·
All issues in WebAssembly/multibyte-array-access
Similar issues
-
`String.Parser.chompUntilEndOr` leaves the column one short when it runs to the end past a newline Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
enhancement PyCDE
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
llvm:support
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
llvm/llvm-project#226296 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
abseil/abseil-cpp#2176 ·