bytecodealliance / bytecodealliance/ComponentizeJS

Dynamic Linking of SpiderMonkey Interpreter

Aperta
#66 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
391
Fork
53
Merge medio
3g 5h
PR unite (30g)
1

Descrizione

**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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.