wasefire icon indicating copy to clipboard operation
wasefire copied to clipboard

Expose the WebAssembly runtime to applets

Open ia0 opened this issue 2 years ago • 0 comments

Applets may want to run sandboxed code. It would be convenient for them to reuse the WebAssembly runtime of the scheduler. This could be useful for example to execute a policy.

Design questions:

  • The applet would need to provide host functions in some form.
  • Should the new module be executed in the same store as the applet? Probably not.
  • What is the performance cost of starting a new store?
  • Should we run in a different execution context? (related to #78)

ia0 avatar Apr 23 '23 16:04 ia0