bytecodealliance / bytecodealliance/ComponentizeJS

Dynamic Linking of SpiderMonkey Interpreter

未關閉
#66 3 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
391
分支
53
平均合併
3 天 5 小時
30 天內合併 PR
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 沒有指出任何 repository 檔案、測試或進入點。首先追蹤 ComponentizeJS 如何封裝 SpiderMonkey 直譯器和 wasm 模組,並使用連結的 Javy -d 參考進行比較;完成這項工作需要一種有文件說明或已實作的動態連結方案,以減少各模組之間重複的直譯器大小。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, rust, wasm
領域
build-system
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。