Use wasm-gc to handle pointer casts in wasi
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
In #128628 I switched the way of handling function pointer casts in emscripten to an approach based on wasm-gc. Unlike the previous approaches this should work on the wasi targets, at least the ones that include wasm-gc. There's some difficulty in that there's no support for the instructions in the clang C front end, nor really in the backend yet. So I'm not sure what is the best way to emit these instructions. We only would need to generate one short function using them though.
@brettcannon WDYT?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue #128628 と、関数ポインタのキャストに対する既存の emscripten のアプローチを確認し、次に WASI ターゲット向けに wasm-gc 命令をどのように出力できるかを調査します。issue では、Clang の C フロントエンドとバックエンドにサポートがないことが指摘されています。wasm-gc を含む WASI ターゲットでポインタのキャストが機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, wasm
- 領域
- compilers, operating-systems
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100