bytecodealliance / bytecodealliance/ComponentizeJS

Dynamic Linking of SpiderMonkey Interpreter

オープン
#66 コメント 3 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
391
フォーク
53
平均マージ
3日 5時間
マージ済み PR(30日)
1

説明

**Problem**

The size of wasm module produced is quite high, ~ 8 MB for a function adding two numbers. My understanding is that the interpreter (SpiderMonkey) is the majority of it.

**Query**

Is there a way to dynamically link the interpreter and wasm module to reduce the module size? The primary benefit is when there are multiple wasm modules & instances

For reference: [Javy](https://shopify.engineering/javascript-in-webassembly-for-shopify-functions) has -d flag for enabling dynamic linking

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

この issue では、リポジトリのファイル、テスト、エントリポイントが指定されていません。まず、ComponentizeJS が SpiderMonkey インタープリタと wasm モジュールをどのようにパッケージ化しているかを追跡し、比較対象としてリンク先の Javy -d リファレンスを使用してください。完了には、モジュール間でインタープリタの重複サイズを削減する、文書化または実装された動的リンク手法が必要です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, rust, wasm
領域
build-system
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。