WebAssembly / WebAssembly/wabt

Typed funcref support should include nullable references

Open
#1,882 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
8.1k
Forks
827
Avg merge
4d 6h
Merged PRs (30d)
18

Description

Non-null references are opcode -0x15 and are supported already in wabt. Nullable references (opcode -0x14) should also be supported.

https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md#binary-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

Read the linked function-references proposal's Binary Format section, then find WABT's existing typed funcref handling for opcode -0x15. Add equivalent support for nullable references at opcode -0x14 and verify the relevant binary parsing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.