Import attribute for controlling builtins compilation option
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, wasm
- 領域
- compilers
調査の方向性
Start with the discussion in pull request #95 linked from the issue, focusing on the proposed wasmBuiltins import attribute and compilation-sharing behavior. Define the attribute's handling of all, none, and builtin lists, including sorting and canonicalization; done means the proposal specifies the exact name, accepted values, defaults, and when module records and binary compilations are shared.
索引モデルが issue の本文から書いたものです。
説明
Follow-on from https://github.com/WebAssembly/esm-integration/pull/95#issuecomment-2651870948 to track support for a new import attribute to support builtins compilation options.
From that discussion:
Add an import attribute for the wasm builtin collections to enable: either 'all', 'none', or a list of specific ones to enable. The default if not specified would be 'all' (as opposed to the JS-API which defaults to 'none').
The exact name can be confirmed, but for now consider we had an attribute called wasmBuiltins:
import source mod1 from './mod.wasm' with { wasmBuiltins: 'none' };
import source mod2 from './mod.wasm' with { wasmBuiltins: 'js-string,another-builtin' };
Ideally we would define canonicalization of the import attribute string to ensure that we do not end up treating:
import source mod1 from './mod.wasm' with { wasmBuiltins: 'all' };
import source mod2 from './mod.wasm' with { wasmBuiltins: 'js-string' };
import source mod3 from './mod.wasm';
As three separate binary compilations, but that the compilation and module record is shared between all of the above.
One issue with canonicalization when it comes to supporting multiple builtins (say comma-separated - wasmBuiltins: 'js-string,another-builtin' is that this also implies some kind of sorting canonicalization.
I think these cases should be possible to address though.
- 主要言語
- WebAssembly
- スター
- 458
- フォーク
- 40
- 平均マージ
- 10日 37分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WebAssembly/esm-integration のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
WebAssembly/esm-integration#122 ·
-
Supporting WebAssembly.JSTag import対応中かも @guybedford が 190 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WebAssembly/esm-integration#120 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WebAssembly/esm-integration#119 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
WebAssembly/esm-integration#118 · コメント 10 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
WebAssembly/esm-integration#112 · コメント 9 件 ·
WebAssembly/esm-integration の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
DAE2 crashes on call.without.effects with a non ref.func expression対応中かも @stevenfontanella が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
WebAssembly/binaryen#9404 ·
メンテナーはふだん 1 日以内に返信
-
area:compiler effort:S impact:med platform:windows type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area:Analysis enhancement
難易度 1/5 1〜3時間 初心者へのやさしさ 69/100
facebookresearch/atlas-lean#5118 ·
メンテナーはふだん 1 日以内に返信
-
C-bugfix
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Quantinuum/hugr#3354 ·
メンテナーはふだん 1 日以内に返信