WebAssembly / WebAssembly/threads

Can tables be shared?

Open
#233 4 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

In overview https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md :

[Spec Changes][spec]

The [limits type][] now has an additional field specifying whether
the linear memory or table is shared:

limits ::= {min u32, max u32?, share}
share  ::= unshared | shared

But in the specification https://webassembly.github.io/threads/core/syntax/types.html#syntax-limits the limits doesn't have shared. Is the overview outdated? Seems that tables cannot be shared?

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

Compare the shared-limits text in proposals/threads/Overview.md with the limits syntax in the linked WebAssembly core specification. Determine whether tables are intended to be shareable and whether either document is outdated; done means the discrepancy and the required documentation change are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.