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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。