WebAssembly / WebAssembly/multibyte-array-access

Support loading/storing 8 bits

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
4
Forks
1
Avg merge
16h 35m
Merged PRs (30d)
1

Description

If we end up reusing the existing memory instructions and only allow i8 arrays there will be some overlap with the regular array instructions. e.g.

i32.store8 (type $i8_array) will effectively be the same as array.set

and likewise for loads

i32.load8_s (type $i8_array) will effectively be the same as array.get_s
i32.load8_u (type $i8_array) will effectively be the same as array.get_u

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the issue's comparison between existing memory instructions and regular array instructions. No files, tests, or entry points are identified; the work is not complete until the design and required behavior for loading and storing 8-bit array elements are defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.