Unhandled suspension in embedding API
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
調査の方向性
No files, tests, or entry points are named. Start by reviewing the questions about exnref, contref, meta-continuations, and embedding operations in this issue. Done requires an agreed representation and embedding API semantics for unhandled suspensions.
索引モデルが issue の本文から書いたものです。
説明
Some offline discussion turned up the issue of how to represent unhandled suspensions in the embedder API. Let's use this issue to discuss.
AFAICT an unhandled suspension is a pair of (something like) an exnref and a contref. An exnref is itself a pair of a tag and a payload, i.e. a vector of values. Tags in stack-switching add results, but I think they are only relevant for the static typing of handlers in the bytecode.
@rossberg had brought up the concept of a "meta-continuation". My understanding that that is basically a contref that could/should be resumable via the embedding API.
I think contref is pretty similar to a funcref from the embedder's perspective; invoking it is a meta-level operation which is dynamically-typed. The only differences I can see are:
contrefdoesn't fit under theanyheaptype hierarchy, so it should fail any dynamically-typed embedder operations that take ananyref,contrefsupports, or should supportcont.bind, if we have that embedder operation,- invoking a
contrefcould suspend (but I think invoking afuncrefcan also suspend), and - it may be represented differently, since it could be a continuation object or a pair of a version+stack resource.
- 主要言語
- WebAssembly
- スター
- 216
- フォーク
- 19
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WebAssembly/stack-switching のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WebAssembly/stack-switching#156 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WebAssembly/stack-switching#145 · コメント 4 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WebAssembly/stack-switching#144 · コメント 4 件 ·
-
JSPI integrationオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
WebAssembly/stack-switching#131 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
WebAssembly/stack-switching#128 · コメント 6 件 ·
WebAssembly/stack-switching の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
modelcontextprotocol/python-sdk#3648 ·
メンテナーはふだん 1 日以内に返信
-
bot:ai-assisted status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
midnightntwrk/midnight-js#1424 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
namespace operations
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
EclipseFdn/open-vsx.org#13830 ·
メンテナーはふだん 1 日以内に返信
-
Make branch and label autocomplete matching locale-independent対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
jenkinsci/gitlab-plugin#1950 ·