WebAssembly / WebAssembly/shared-everything-threads
Clarifications on "more complex" unchanged instructions
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 97
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
We should clarify if the following specifications are desired:
table.copycan copy between shared and unshared tables (all 4 combinations[^1], also for all the other cases below)array.copycan copy between shared and unshared arraystable.initcan initialize shared and unshared tables from shared and unshared element segmentsarray.new_elemcan construct shared and unshared arrays using shared and unshared element segmentsarray.new_datacan construct shared and unshared arrays using shared and unshared data segmentsarray.init_dataandarray.init_elemcan similarly use a mix of shared and unshared arrays and element / data segments
AFAICT that's what this proposal is currently defining, I can say for sure that the V8 implementation does not support most of these cases (some of the bulk instructions might not work at all for shared types in the current POC.)
[^1]: Inside an unshared function
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.
Research direction
Start by reading the proposal's treatment of "more complex" unchanged instructions and compare the listed shared/unshared combinations with the V8 proof-of-concept implementation. Done means the proposal explicitly resolves whether each table, array, element-segment, and data-segment combination is supported.
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
- Mostly clear
- Newbie friendliness
- 35/100