WebAssembly / WebAssembly/threads

Rename WebAssembly.Global to something

Open
#49 20 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
767
Forks
54
PR merge metrics
No merged PRs in 30d

Description

If a WebAssembly.Global represents what is, in effect, a thread-local variable, then it needs a better name. This is of course due to there being just one "thread" associated with a JavaScript context.

E.g. what about WebAssembly.Variable for a JS name?

We could as well rename the opcode (without changing its encoding), and there'd be no breaking change, other than to the text format.

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

Review the issue discussion about renaming WebAssembly.Global, including the proposed WebAssembly.Variable name and the possible opcode and text-format changes. Determine whether the naming concern has consensus and document the agreed scope, including whether the encoded opcode remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.