4 ms·
That wouldn't work: The Wasm spec does not allow for modifying an already running program (e.g. JIT). AFAIK the only option is to include an interpreter.
by concerndc1tizen 2y ago
That wouldn't work: The Wasm spec does not allow for modifying an already running program (e.g. JIT).
AFAIK the only option is to include an interpreter.
- syrusakbary 2y agoYou don't need to modify an already running program, you can plug new functions into an existing Wasm program via a table, and even attach variables via globals or function arguments. I'd recommend checking the work on making SpiderMonkey emit Wasm as a backend