Atomic loads and stores

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
42/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
wasm
Domain
documentation

Research direction

Start with the repository's overview document, which the issue asks to update with the atomic load and store instructions from the phase 4 threads proposal. Read the phase 3 acquire-release atomics proposal to see what the interaction section should describe. Done means the overview lists those instructions for unshared arrays and includes a short description of how they interact with acquire-release atomics.

Written by the indexing model from the issue text.

Description

We don't have shared arrays (yet), so atomic loads and stores on arrays could not yet be used for synchronization, but in the future we do expect to have shared arrays, and then it will be useful to have multi-byte access to shared arrays.

For consistency with the atomic load and store instructions being valid with unshared memories, I think they should also be valid with unshared arrays, so it would be good to update the overview with at least the instructions from the phase 4 threads proposal. It would also be reasonable to describe the intended interaction with the phase 3 acquire-release atomics proposal as well.

Dominant language
WebAssembly
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from WebAssembly/multibyte-array-access

All issues in WebAssembly/multibyte-array-access

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.